Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 109.7 kB / 17.03 MB, free: 5.809 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.001056/0.001056, allocations: 196 kB / 17.98 MB, free: 5.027 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7093/0.7093, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 59.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3158, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04967/0.3655, allocations: 61.17 MB / 0.6173 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01638/0.3819, allocations: 11.99 MB / 0.629 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.3841, allocations: 59.62 kB / 0.6291 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.3861, allocations: 0.6792 MB / 0.6297 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005134/0.3912, allocations: 1.966 MB / 0.6316 GB, free: 8.527 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.3943, allocations: 1.204 MB / 0.6328 GB, free: 7.336 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003868/0.3982, allocations: 3.095 MB / 0.6358 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.3996, allocations: 1.094 MB / 0.6369 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/0.4025, allocations: 1.328 MB / 0.6382 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.4038, allocations: 0.8984 MB / 0.6391 GB, free: 0.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.404, allocations: 120 kB / 0.6392 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.4067, allocations: 1.466 MB / 0.6406 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.407, allocations: 286.9 kB / 0.6409 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007516/0.4077, allocations: 0.6958 MB / 0.6416 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.4109, allocations: 2.314 MB / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.411, allocations: 4 kB / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.411, allocations: 0 / 0.6438 GB, free: 11.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.411, allocations: 0 / 0.6438 GB, free: 11.99 MB / 494.1 MB 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.002908/0.4139, allocations: 1.722 MB / 0.6455 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4139, allocations: 12.03 kB / 0.6455 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.4156, allocations: 343 kB / 0.6459 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.4177, allocations: 1.16 MB / 0.647 GB, free: 8.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.4178, allocations: 58 kB / 0.6471 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.4179, allocations: 80 kB / 0.6471 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.4197, allocations: 0.9741 MB / 0.6481 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.4198, allocations: 7.922 kB / 0.6481 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.4198, allocations: 36 kB / 0.6481 GB, free: 7.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.4199, allocations: 16 kB / 0.6481 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.4218, allocations: 0.8001 MB / 0.6489 GB, free: 6.613 MB / 494.1 MB 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.00593/0.4277, allocations: 5.141 MB / 0.6539 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.4292, allocations: 0.5559 MB / 0.6545 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.4298, allocations: 272.7 kB / 0.6547 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.4311, allocations: 1.365 MB / 0.6561 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4311, allocations: 42.56 kB / 0.6561 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.4311, allocations: 0 / 0.6561 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007643/0.4388, allocations: 1.763 MB / 0.6578 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4389, allocations: 55.41 kB / 0.6579 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.4405, allocations: 1.072 MB / 0.6589 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.4406, allocations: 41.69 kB / 0.659 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004225/0.4411, allocations: 0.5311 MB / 0.6595 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4412, allocations: 145.9 kB / 0.6596 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.4414, allocations: 134.1 kB / 0.6598 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4415, allocations: 334 kB / 0.6601 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007152/0.4423, allocations: 279.3 kB / 0.6604 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/0.4432, allocations: 0.4994 MB / 0.6608 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.4446, allocations: 0.6634 MB / 0.6615 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4446, allocations: 7.938 kB / 0.6615 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002403/0.447, allocations: 0.946 MB / 0.6624 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.447, allocations: 14.19 kB / 0.6624 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.447, allocations: 4 kB / 0.6624 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.4483, allocations: 312.5 kB / 0.6627 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.4487, allocations: 115.9 kB / 0.6628 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4501, allocations: 0.902 MB / 0.6637 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.4512, allocations: 143.2 kB / 0.6639 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.4513, allocations: 31.98 kB / 0.6639 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001041/0.4524, allocations: 489.2 kB / 0.6644 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008915/0.4533, allocations: 0.4979 MB / 0.6648 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001327/0.4546, allocations: 0.6471 MB / 0.6655 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.4546, allocations: 3.938 kB / 0.6655 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002373/0.457, allocations: 0.9499 MB / 0.6664 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.457, allocations: 8 kB / 0.6664 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.457, allocations: 4 kB / 0.6664 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.4581, allocations: 300.7 kB / 0.6667 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.4586, allocations: 123.7 kB / 0.6668 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.4599, allocations: 0.888 MB / 0.6677 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.461, allocations: 127.5 kB / 0.6678 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.4611, allocations: 35.98 kB / 0.6678 GB, free: 2.051 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.000202/0.4613, allocations: 216.1 kB / 0.6681 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.4615, allocations: 106.7 kB / 0.6682 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/0.465, allocations: 1.065 MB / 0.6692 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.465, allocations: 8 kB / 0.6692 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.465, allocations: 0 / 0.6692 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.465, allocations: 3.984 kB / 0.6692 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004589/0.4696, allocations: 2.06 MB / 0.6712 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.4697, allocations: 4 kB / 0.6712 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.4699, allocations: 51.91 kB / 0.6713 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009419/0.4708, allocations: 300.9 kB / 0.6716 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.4709, allocations: 8 kB / 0.6716 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.4722, allocations: 0.9348 MB / 0.6725 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4723, allocations: 7.969 kB / 0.6725 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.4754, allocations: 1.086 MB / 0.6735 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004322/0.4759, allocations: 259.5 kB / 0.6738 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.476, allocations: 11.94 kB / 0.6738 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.4768, allocations: 63.92 kB / 0.6739 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.4769, allocations: 43.77 kB / 0.6739 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.4769, allocations: 27.98 kB / 0.6739 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001137/0.4781, allocations: 0.7512 MB / 0.6747 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.4781, allocations: 0 / 0.6747 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001476/0.4796, allocations: 0.5731 MB / 0.6752 GB, free: 10.3 MB / 0.5137 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007805/0.4803, allocations: 408.2 kB / 0.6756 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002656/0.483, allocations: 1.024 MB / 0.6766 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.483, allocations: 4.062 kB / 0.6766 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007868/0.4838, allocations: 317.4 kB / 0.6769 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/0.4862, allocations: 0.5171 MB / 0.6774 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.4892, allocations: 1.801 MB / 0.6792 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.4898, allocations: 1.061 MB / 0.6802 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007424/0.4906, allocations: 224.9 kB / 0.6804 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.4907, allocations: 75.42 kB / 0.6805 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.4908, allocations: 0 / 0.6805 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of Templates: time 0.03951/0.5303, allocations: 25.13 MB / 0.705 GB, free: 11.99 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)