Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 198.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.519/2.519, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5187, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06181/0.5806, allocations: 75.21 MB / 1.091 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01596/0.5966, allocations: 15.17 MB / 1.106 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.5976, allocations: 67.62 kB / 1.106 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.5991, allocations: 0.8306 MB / 1.107 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.6032, allocations: 2.589 MB / 1.109 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.6055, allocations: 1.381 MB / 1.11 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003331/0.6089, allocations: 4.385 MB / 1.115 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.6102, allocations: 1.445 MB / 1.116 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.6125, allocations: 1.641 MB / 1.118 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.6136, allocations: 1.206 MB / 1.119 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.6138, allocations: 171.9 kB / 1.119 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.6158, allocations: 1.396 MB / 1.12 GB, free: 8.652 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.6161, allocations: 398.6 kB / 1.121 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006935/0.6168, allocations: 0.906 MB / 1.122 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.6193, allocations: 2.828 MB / 1.124 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6193, allocations: 4 kB / 1.124 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6193, allocations: 0 / 1.124 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.6193, allocations: 0 / 1.124 GB, free: 4.512 MB / 0.8731 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.002915/0.6223, allocations: 2.077 MB / 1.126 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.6223, allocations: 12.03 kB / 1.126 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001459/0.6225, allocations: 148.1 kB / 1.127 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007207/0.6232, allocations: 230.8 kB / 1.127 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.6251, allocations: 1.45 MB / 1.128 GB, free: 484 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.6252, allocations: 78 kB / 1.128 GB, free: 408 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.6253, allocations: 100 kB / 1.128 GB, free: 308 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.627, allocations: 1.1 MB / 1.13 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6271, allocations: 7.984 kB / 1.13 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/0.6272, allocations: 44 kB / 1.13 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.6272, allocations: 27.94 kB / 1.13 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.629, allocations: 0.89 MB / 1.13 GB, free: 14.2 MB / 0.8887 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.004869/0.6338, allocations: 4.939 MB / 1.135 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.6352, allocations: 0.6236 MB / 1.136 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/0.6358, allocations: 346.3 kB / 1.136 GB, free: 8 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005245/0.6364, allocations: 0.8238 MB / 1.137 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6364, allocations: 43.12 kB / 1.137 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 1.603e-06/0.6364, allocations: 0 / 1.137 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.006823/0.6432, allocations: 1.697 MB / 1.139 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.6433, allocations: 59.97 kB / 1.139 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.6446, allocations: 1.226 MB / 1.14 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.6447, allocations: 41.7 kB / 1.14 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.6451, allocations: 0.6104 MB / 1.141 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.6453, allocations: 213 kB / 1.141 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.6455, allocations: 154.5 kB / 1.141 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.689e-05/0.6456, allocations: 337.9 kB / 1.141 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.6462, allocations: 284.7 kB / 1.142 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007794/0.647, allocations: 0.489 MB / 1.142 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.6484, allocations: 0.7051 MB / 1.143 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6484, allocations: 4 kB / 1.143 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004511/0.6529, allocations: 1.277 MB / 1.144 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6529, allocations: 7.938 kB / 1.144 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6529, allocations: 4 kB / 1.144 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/0.6535, allocations: 141 kB / 1.144 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.654, allocations: 151.8 kB / 1.144 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000754/0.6548, allocations: 0.7122 MB / 1.145 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.6556, allocations: 127 kB / 1.145 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.6557, allocations: 35.98 kB / 1.145 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009171/0.6566, allocations: 0.5448 MB / 1.146 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007545/0.6574, allocations: 0.4929 MB / 1.146 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001312/0.6587, allocations: 0.7012 MB / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.6587, allocations: 0 / 1.147 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004423/0.6631, allocations: 1.269 MB / 1.148 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.6632, allocations: 7.984 kB / 1.148 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.6632, allocations: 4 kB / 1.148 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.6636, allocations: 144.9 kB / 1.148 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.6642, allocations: 159.8 kB / 1.148 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007177/0.6649, allocations: 0.6928 MB / 1.149 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.6657, allocations: 111.5 kB / 1.149 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.6658, allocations: 31.98 kB / 1.149 GB, free: 10.11 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.666, allocations: 224.7 kB / 1.149 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.6662, allocations: 134.4 kB / 1.149 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.6706, allocations: 1.271 MB / 1.151 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.6706, allocations: 11.98 kB / 1.151 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6706, allocations: 0 / 1.151 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004013/0.6747, allocations: 1.099 MB / 1.152 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005804/0.6805, allocations: 2.622 MB / 1.154 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.6805, allocations: 3.984 kB / 1.154 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.6809, allocations: 111.9 kB / 1.154 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004246/0.6814, allocations: 125.1 kB / 1.155 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.6814, allocations: 23.98 kB / 1.155 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004723/0.6862, allocations: 2.657 MB / 1.157 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6862, allocations: 4 kB / 1.157 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/0.691, allocations: 1.699 MB / 1.159 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.6914, allocations: 307.2 kB / 1.159 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.6916, allocations: 12 kB / 1.159 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.6923, allocations: 51.94 kB / 1.159 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6924, allocations: 64.3 kB / 1.159 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/0.6925, allocations: 31.98 kB / 1.159 GB, free: 15.26 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001018/0.6935, allocations: 0.8819 MB / 1.16 GB, free: 14.38 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6935, allocations: 3.938 kB / 1.16 GB, free: 14.38 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001416/0.6949, allocations: 0.7174 MB / 1.161 GB, free: 13.66 MB / 0.92 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005859/0.7008, allocations: 2.598 MB / 1.163 GB, free: 10.99 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002458/0.7033, allocations: 1.156 MB / 1.165 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7033, allocations: 0 / 1.165 GB, free: 9.836 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.7046, allocations: 0.5682 MB / 1.165 GB, free: 9.254 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003069/0.7077, allocations: 0.8031 MB / 1.166 GB, free: 8.484 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.7256, allocations: 10.47 MB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.7262, allocations: 1.187 MB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009822/0.7272, allocations: 299 kB / 1.178 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005969/0.7278, allocations: 0.5149 MB / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.7278, allocations: 0 / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.814/2.542, allocations: 42.31 MB / 1.219 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/17.23, allocations: 6.984 kB / 1.219 GB, free: 1.672 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)