Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001086, allocations: 175.8 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008783, allocations: 102 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003155, allocations: 10.12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1804, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05531/0.2358, allocations: 63.01 MB / 0.9617 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.2544, allocations: 12.86 MB / 0.9742 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/0.2568, allocations: 55.56 kB / 0.9743 GB, free: 3.738 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.2596, allocations: 0.7462 MB / 0.975 GB, free: 2.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.2706, allocations: 2.351 MB / 0.9773 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007319/0.2779, allocations: 1.431 MB / 0.9787 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00701/0.285, allocations: 2.487 MB / 0.9811 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.2877, allocations: 1.021 MB / 0.9821 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004282/0.292, allocations: 1.16 MB / 0.9833 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.2949, allocations: 0.7856 MB / 0.984 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004236/0.2954, allocations: 59.94 kB / 0.9841 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.2987, allocations: 0.8347 MB / 0.9849 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000475/0.2992, allocations: 258.9 kB / 0.9852 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008271/0.3, allocations: 356.9 kB / 0.9855 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004389/0.3044, allocations: 2.007 MB / 0.9875 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3045, allocations: 4 kB / 0.9875 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3045, allocations: 0 / 0.9875 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.043e-05/0.3046, allocations: 0 / 0.9875 GB, free: 6.219 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005209/0.3098, allocations: 1.775 MB / 0.9892 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3098, allocations: 8.031 kB / 0.9892 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003498/0.3102, allocations: 155.9 kB / 0.9893 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.3115, allocations: 237.9 kB / 0.9896 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/0.3153, allocations: 1.357 MB / 0.9909 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.3155, allocations: 78 kB / 0.991 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002798/0.3157, allocations: 100 kB / 0.9911 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.319, allocations: 1.1 MB / 0.9921 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.3191, allocations: 0 / 0.9921 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.3192, allocations: 40 kB / 0.9922 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-05/0.3193, allocations: 31.95 kB / 0.9922 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.3226, allocations: 0.9251 MB / 0.9931 GB, free: 264 kB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.333, allocations: 4.946 MB / 0.9979 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.3345, allocations: 0.6435 MB / 0.9986 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/0.3352, allocations: 0.8277 MB / 0.9994 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3352, allocations: 39.12 kB / 0.9994 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.3352, allocations: 0 / 0.9994 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.007713/0.3429, allocations: 1.885 MB / 1.001 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.343, allocations: 59.97 kB / 1.001 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.3449, allocations: 1.245 MB / 1.003 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.3451, allocations: 45.7 kB / 1.003 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.3457, allocations: 0.6025 MB / 1.003 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.3459, allocations: 208.9 kB / 1.003 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.346, allocations: 16 kB / 1.003 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3461, allocations: 334 kB / 1.004 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.3468, allocations: 293.8 kB / 1.004 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008453/0.3477, allocations: 0.5046 MB / 1.004 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007622/0.3485, allocations: 367 kB / 1.005 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3485, allocations: 0 / 1.005 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004951/0.3535, allocations: 1.394 MB / 1.006 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006089/0.3541, allocations: 1.423 MB / 1.008 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3541, allocations: 4 kB / 1.008 GB, free: 0.6953 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/0.3548, allocations: 148.6 kB / 1.008 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.3555, allocations: 171.7 kB / 1.008 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/0.3563, allocations: 0.7202 MB / 1.009 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3577, allocations: 179 kB / 1.009 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.3578, allocations: 27.98 kB / 1.009 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.3578, allocations: 6.5 kB / 1.009 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004522/0.3623, allocations: 1.253 MB / 1.01 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3623, allocations: 4 kB / 1.01 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005105/0.3629, allocations: 145 kB / 1.01 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.3635, allocations: 167.8 kB / 1.01 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008272/0.3643, allocations: 0.7162 MB / 1.011 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.3656, allocations: 167.8 kB / 1.011 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.3657, allocations: 31.98 kB / 1.011 GB, free: 12.92 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006279/0.3663, allocations: 417 kB / 1.012 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.3665, allocations: 134.3 kB / 1.012 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004844/0.3714, allocations: 1.404 MB / 1.013 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.3714, allocations: 11.98 kB / 1.013 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3714, allocations: 7.953 kB / 1.013 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004418/0.3759, allocations: 1.228 MB / 1.014 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007299/0.3832, allocations: 2.746 MB / 1.017 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.3832, allocations: 4 kB / 1.017 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.3838, allocations: 120.3 kB / 1.017 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005033/0.3843, allocations: 136.7 kB / 1.017 GB, free: 6.551 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.3844, allocations: 19.98 kB / 1.017 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005381/0.3898, allocations: 2.559 MB / 1.02 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.3898, allocations: 7.938 kB / 1.02 GB, free: 3.809 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006189/0.396, allocations: 2.058 MB / 1.022 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/0.3969, allocations: 343 kB / 1.022 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.3971, allocations: 16.38 kB / 1.022 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008947/0.398, allocations: 101.9 kB / 1.022 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3982, allocations: 60.25 kB / 1.022 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.507e-05/0.3982, allocations: 27.98 kB / 1.022 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001231/0.3995, allocations: 0.8933 MB / 1.023 GB, free: 92 kB / 0.6667 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3995, allocations: 4 kB / 1.023 GB, free: 88 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001812/0.4013, allocations: 0.7291 MB / 1.024 GB, free: 15.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006812/0.4081, allocations: 3.835 MB / 1.028 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.4108, allocations: 1.168 MB / 1.029 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4109, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.4124, allocations: 0.5995 MB / 1.029 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/0.4161, allocations: 0.751 MB / 1.03 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.4227, allocations: 5.934 MB / 1.036 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.4236, allocations: 1.192 MB / 1.037 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001368/0.4249, allocations: 306.9 kB / 1.037 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.4257, allocations: 0.5187 MB / 1.038 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of SimCode: time 1.222e-06/0.4257, allocations: 0 / 1.038 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/0.8329, allocations: 42.11 MB / 1.079 GB, free: 137.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.8331, allocations: 264.4 kB / 1.079 GB, free: 137.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.367/4.201, allocations: 1.859 kB / 1.079 GB, free: 137.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)