Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 69.56 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.319, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06316/0.3822, allocations: 60.86 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.3998, allocations: 12.07 MB / 1.139 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002523/0.4024, allocations: 55.62 kB / 1.139 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002302/0.4047, allocations: 0.5477 MB / 1.139 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006156/0.4109, allocations: 1.796 MB / 1.141 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003308/0.4143, allocations: 1.077 MB / 1.142 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005144/0.4194, allocations: 3.898 MB / 1.146 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.4212, allocations: 0.9432 MB / 1.147 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.4239, allocations: 1.151 MB / 1.148 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.4256, allocations: 0.8865 MB / 1.149 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.4259, allocations: 56 kB / 1.149 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.4288, allocations: 1.341 MB / 1.15 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.4292, allocations: 246.8 kB / 1.15 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.4302, allocations: 0.6295 MB / 1.151 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003394/0.4336, allocations: 2.228 MB / 1.153 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4337, allocations: 0 / 1.153 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4337, allocations: 7.938 kB / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.4337, allocations: 0 / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002859/0.4366, allocations: 1.716 MB / 1.155 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4366, allocations: 12.03 kB / 1.155 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.4388, allocations: 402.8 kB / 1.155 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.4408, allocations: 1.132 MB / 1.156 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000348/0.4412, allocations: 121.9 kB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4413, allocations: 76 kB / 1.157 GB, free: 15.29 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.4433, allocations: 0.9855 MB / 1.158 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4433, allocations: 7.938 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.4434, allocations: 32 kB / 1.158 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4434, allocations: 16 kB / 1.158 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.4457, allocations: 0.8626 MB / 1.158 GB, free: 13.34 MB / 0.92 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.006167/0.4519, allocations: 4.832 MB / 1.163 GB, free: 8.156 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.4553, allocations: 0.8013 MB / 1.164 GB, free: 7.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.456, allocations: 302.1 kB / 1.164 GB, free: 7.047 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.4567, allocations: 0.9103 MB / 1.165 GB, free: 5.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.4567, allocations: 42.5 kB / 1.165 GB, free: 5.883 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.4567, allocations: 0 / 1.165 GB, free: 5.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.008358/0.4651, allocations: 1.907 MB / 1.167 GB, free: 3.945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4651, allocations: 55.41 kB / 1.167 GB, free: 3.879 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.4667, allocations: 1.051 MB / 1.168 GB, free: 2.812 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.4668, allocations: 41.69 kB / 1.168 GB, free: 2.766 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.4672, allocations: 0.5273 MB / 1.169 GB, free: 2.234 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4674, allocations: 149.8 kB / 1.169 GB, free: 2.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.4676, allocations: 126.1 kB / 1.169 GB, free: 1.957 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4678, allocations: 326 kB / 1.169 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008895/0.4687, allocations: 310.9 kB / 1.17 GB, free: 1.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.4697, allocations: 0.5064 MB / 1.17 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.4713, allocations: 0.6772 MB / 1.171 GB, free: 0 / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4714, allocations: 4.047 kB / 1.171 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002659/0.474, allocations: 0.9926 MB / 1.172 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4741, allocations: 8 kB / 1.172 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4741, allocations: 7.984 kB / 1.172 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.4755, allocations: 313 kB / 1.172 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.476, allocations: 119.8 kB / 1.172 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.4775, allocations: 0.9059 MB / 1.173 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.4789, allocations: 179.3 kB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/0.479, allocations: 27.98 kB / 1.173 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001282/0.4803, allocations: 0.5087 MB / 1.174 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001035/0.4814, allocations: 0.51 MB / 1.174 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001595/0.483, allocations: 0.6797 MB / 1.175 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.483, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002615/0.4856, allocations: 0.9771 MB / 1.176 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4857, allocations: 16 kB / 1.176 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.4857, allocations: 4 kB / 1.176 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4868, allocations: 300.6 kB / 1.176 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.4873, allocations: 119.8 kB / 1.176 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.4887, allocations: 0.9075 MB / 1.177 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.49, allocations: 163.5 kB / 1.177 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.4901, allocations: 27.98 kB / 1.177 GB, free: 9.023 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.4904, allocations: 224 kB / 1.177 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.4907, allocations: 106.7 kB / 1.178 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.4945, allocations: 1.094 MB / 1.179 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.4945, allocations: 15.98 kB / 1.179 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4946, allocations: 3.938 kB / 1.179 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4946, allocations: 3.984 kB / 1.179 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005099/0.4997, allocations: 2.163 MB / 1.181 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.4997, allocations: 0 / 1.181 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.5, allocations: 63.89 kB / 1.181 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.501, allocations: 306.4 kB / 1.181 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.501, allocations: 12 kB / 1.181 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.5024, allocations: 0.9502 MB / 1.182 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.5025, allocations: 4 kB / 1.182 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.5059, allocations: 1.159 MB / 1.183 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.5063, allocations: 263.5 kB / 1.183 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.5065, allocations: 16 kB / 1.183 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009328/0.5075, allocations: 95.83 kB / 1.184 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.5075, allocations: 39.83 kB / 1.184 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.5076, allocations: 19.98 kB / 1.184 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001193/0.5088, allocations: 0.7389 MB / 1.184 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5088, allocations: 0 / 1.184 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00156/0.5104, allocations: 0.5613 MB / 1.185 GB, free: 0.9922 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009656/0.5113, allocations: 386.5 kB / 1.185 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003451/0.5148, allocations: 1.094 MB / 1.186 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5148, allocations: 0 / 1.186 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.5158, allocations: 354.5 kB / 1.187 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/0.5189, allocations: 0.4944 MB / 1.187 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005381/0.5243, allocations: 2.417 MB / 1.19 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/0.5249, allocations: 1.061 MB / 1.191 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009503/0.5259, allocations: 216.7 kB / 1.191 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.5261, allocations: 79.36 kB / 1.191 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of SimCode: time 7.01e-07/0.5261, allocations: 4 kB / 1.191 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of Templates: time 0.03757/0.5637, allocations: 23.76 MB / 1.214 GB, free: 3.336 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)