Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 98.92 kB / 16.26 MB, free: 5.934 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.001091/0.001091, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 55.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3674, allocations: 77.93 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05448/0.4219, allocations: 61.17 MB / 0.627 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4409, allocations: 12 MB / 0.6387 GB, free: 1.441 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/0.4432, allocations: 59.62 kB / 0.6387 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.4457, allocations: 0.6791 MB / 0.6394 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.4523, allocations: 1.959 MB / 0.6413 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.4558, allocations: 1.199 MB / 0.6425 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004559/0.4604, allocations: 3.083 MB / 0.6455 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001933/0.4623, allocations: 1.086 MB / 0.6466 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.4656, allocations: 1.326 MB / 0.6479 GB, free: 8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.4673, allocations: 0.8983 MB / 0.6487 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.4677, allocations: 116 kB / 0.6488 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.4709, allocations: 1.454 MB / 0.6503 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.4715, allocations: 278.9 kB / 0.6505 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.4727, allocations: 0.7036 MB / 0.6512 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.4768, allocations: 2.283 MB / 0.6534 GB, free: 2.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4769, allocations: 0 / 0.6534 GB, free: 2.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4769, allocations: 0 / 0.6534 GB, free: 2.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.583e-05/0.477, allocations: 3.938 kB / 0.6534 GB, free: 2.254 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.003657/0.4806, allocations: 1.723 MB / 0.6551 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4807, allocations: 12.62 kB / 0.6551 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002312/0.483, allocations: 406.8 kB / 0.6555 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.4853, allocations: 1.109 MB / 0.6566 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003766/0.4857, allocations: 121.9 kB / 0.6567 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.4859, allocations: 76 kB / 0.6568 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.4881, allocations: 1.009 MB / 0.6578 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.4881, allocations: 0 / 0.6578 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/0.4882, allocations: 32 kB / 0.6578 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.4882, allocations: 24 kB / 0.6578 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.4907, allocations: 0.8703 MB / 0.6587 GB, free: 12.71 MB / 0.4981 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.006996/0.4977, allocations: 5.28 MB / 0.6638 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003485/0.5012, allocations: 0.7963 MB / 0.6646 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007682/0.502, allocations: 304.7 kB / 0.6649 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.5027, allocations: 0.9063 MB / 0.6658 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5027, allocations: 38.5 kB / 0.6658 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 3.216e-06/0.5027, allocations: 4 kB / 0.6658 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.009061/0.5118, allocations: 1.934 MB / 0.6677 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.5119, allocations: 55.41 kB / 0.6678 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.5136, allocations: 1.072 MB / 0.6688 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.5137, allocations: 37.7 kB / 0.6689 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.5142, allocations: 0.5311 MB / 0.6694 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5143, allocations: 153.8 kB / 0.6695 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.5146, allocations: 138.1 kB / 0.6697 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5147, allocations: 330 kB / 0.67 GB, free: 488 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009497/0.5157, allocations: 311.3 kB / 0.6703 GB, free: 172 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.5168, allocations: 0.5369 MB / 0.6708 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.5186, allocations: 0.7143 MB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5187, allocations: 4 kB / 0.6715 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003936/0.5226, allocations: 1.184 MB / 0.6727 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5226, allocations: 4 kB / 0.6727 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.5227, allocations: 11.94 kB / 0.6727 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.524, allocations: 317.8 kB / 0.673 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.5246, allocations: 135.7 kB / 0.6731 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.5261, allocations: 0.9205 MB / 0.674 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.5275, allocations: 155.2 kB / 0.6741 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.5275, allocations: 31.98 kB / 0.6742 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.5288, allocations: 0.509 MB / 0.6747 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.53, allocations: 0.5407 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001781/0.5318, allocations: 0.7057 MB / 0.6759 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.32e-06/0.5318, allocations: 4 kB / 0.6759 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003733/0.5355, allocations: 1.153 MB / 0.677 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.5355, allocations: 10.19 kB / 0.677 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5356, allocations: 7.938 kB / 0.677 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.5367, allocations: 316.7 kB / 0.6773 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.5373, allocations: 127.8 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.5388, allocations: 0.9138 MB / 0.6784 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.5401, allocations: 140.5 kB / 0.6785 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.222e-05/0.5401, allocations: 39.92 kB / 0.6785 GB, free: 7.297 MB / 0.5137 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.0002326/0.5404, allocations: 216.1 kB / 0.6787 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.5407, allocations: 114.5 kB / 0.6788 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/0.5447, allocations: 1.112 MB / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5447, allocations: 4 kB / 0.6799 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.5447, allocations: 4 kB / 0.6799 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5448, allocations: 7.922 kB / 0.6799 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.5504, allocations: 2.195 MB / 0.6821 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.5504, allocations: 0 / 0.6821 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.5507, allocations: 67.89 kB / 0.6822 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.5518, allocations: 308.9 kB / 0.6824 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.5519, allocations: 15.94 kB / 0.6825 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.5534, allocations: 0.9386 MB / 0.6834 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5535, allocations: 12 kB / 0.6834 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.5573, allocations: 1.185 MB / 0.6845 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/0.5578, allocations: 267.5 kB / 0.6848 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.5581, allocations: 15.94 kB / 0.6848 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/0.559, allocations: 75.91 kB / 0.6849 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/0.5591, allocations: 35.89 kB / 0.6849 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.225e-05/0.5592, allocations: 23.98 kB / 0.6849 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00123/0.5604, allocations: 0.7551 MB / 0.6857 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5604, allocations: 0 / 0.6857 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001603/0.562, allocations: 0.5692 MB / 0.6862 GB, free: 15.19 MB / 0.5294 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 (34): * Single equations (assignments): 29 * 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.0008711/0.5629, allocations: 401.8 kB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003478/0.5664, allocations: 1.156 MB / 0.6878 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5664, allocations: 4.062 kB / 0.6878 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.5673, allocations: 350.3 kB / 0.6881 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.5697, allocations: 0.5121 MB / 0.6886 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005138/0.5748, allocations: 2.052 MB / 0.6906 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006185/0.5755, allocations: 1.061 MB / 0.6916 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009602/0.5764, allocations: 238.8 kB / 0.6919 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.5766, allocations: 75.42 kB / 0.6919 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.5766, allocations: 0 / 0.6919 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.03909/0.6157, allocations: 25.14 MB / 0.7165 GB, free: 484 kB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)