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.001054/0.001054, allocations: 99.83 kB / 16.27 MB, free: 6 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.001096/0.001096, allocations: 182.1 kB / 17.19 MB, free: 5.617 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7574/0.7574, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3697, allocations: 77.91 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.06211/0.4318, allocations: 61.18 MB / 0.6269 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.4506, allocations: 12 MB / 0.6386 GB, free: 1.453 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.4535, allocations: 55.69 kB / 0.6387 GB, free: 1.398 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.4558, allocations: 0.6869 MB / 0.6394 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006361/0.4622, allocations: 1.959 MB / 0.6413 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.4659, allocations: 1.196 MB / 0.6424 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005052/0.471, allocations: 3.079 MB / 0.6455 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.473, allocations: 1.09 MB / 0.6465 GB, free: 9.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003661/0.4767, allocations: 1.326 MB / 0.6478 GB, free: 8.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001997/0.4787, allocations: 0.9023 MB / 0.6487 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004934/0.4792, allocations: 116 kB / 0.6488 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004371/0.4836, allocations: 1.45 MB / 0.6502 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009311/0.4846, allocations: 290.9 kB / 0.6505 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002447/0.487, allocations: 0.6919 MB / 0.6512 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006202/0.4933, allocations: 2.279 MB / 0.6534 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4933, allocations: 0 / 0.6534 GB, free: 2.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4933, allocations: 3.938 kB / 0.6534 GB, free: 2.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.267e-05/0.4934, allocations: 0 / 0.6534 GB, free: 2.266 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.004306/0.4977, allocations: 1.726 MB / 0.6551 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4978, allocations: 12.62 kB / 0.6551 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.5001, allocations: 402.8 kB / 0.6555 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.5027, allocations: 1.109 MB / 0.6566 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.5031, allocations: 129.9 kB / 0.6567 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.5033, allocations: 76 kB / 0.6568 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.5057, allocations: 1.001 MB / 0.6577 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5057, allocations: 0 / 0.6577 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/0.5058, allocations: 36 kB / 0.6578 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.5059, allocations: 20 kB / 0.6578 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.5083, allocations: 0.8703 MB / 0.6586 GB, free: 12.72 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.007413/0.5158, allocations: 5.286 MB / 0.6638 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.5192, allocations: 0.7933 MB / 0.6646 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/0.52, allocations: 304.7 kB / 0.6649 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.5207, allocations: 0.9141 MB / 0.6658 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.5208, allocations: 42.5 kB / 0.6658 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.405e-06/0.5208, allocations: 0 / 0.6658 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008786/0.5296, allocations: 1.93 MB / 0.6677 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.5296, allocations: 55.41 kB / 0.6677 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.5316, allocations: 1.076 MB / 0.6688 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.5318, allocations: 37.7 kB / 0.6688 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.5323, allocations: 0.5311 MB / 0.6694 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.5325, allocations: 153.8 kB / 0.6695 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.5327, allocations: 134.1 kB / 0.6696 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5328, allocations: 330 kB / 0.6699 GB, free: 496 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/0.5338, allocations: 311.3 kB / 0.6702 GB, free: 180 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.535, allocations: 0.5368 MB / 0.6708 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.5368, allocations: 0.7182 MB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.5368, allocations: 4 kB / 0.6715 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003936/0.5407, allocations: 1.18 MB / 0.6726 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.5408, allocations: 4 kB / 0.6726 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.5408, allocations: 19.98 kB / 0.6726 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.5421, allocations: 318.9 kB / 0.6729 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.5427, allocations: 127.8 kB / 0.6731 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.5442, allocations: 0.9152 MB / 0.674 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.5456, allocations: 163.2 kB / 0.6741 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.5457, allocations: 31.98 kB / 0.6741 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00123/0.5469, allocations: 0.509 MB / 0.6746 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.548, allocations: 0.5407 MB / 0.6752 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001649/0.5496, allocations: 0.7057 MB / 0.6759 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.709e-06/0.5496, allocations: 4 kB / 0.6759 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003555/0.5532, allocations: 1.153 MB / 0.677 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5532, allocations: 8 kB / 0.677 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5532, allocations: 4 kB / 0.677 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.5544, allocations: 320 kB / 0.6773 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.5549, allocations: 127.8 kB / 0.6774 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.5563, allocations: 0.9191 MB / 0.6783 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.5576, allocations: 135.5 kB / 0.6785 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.5577, allocations: 35.98 kB / 0.6785 GB, free: 7.309 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.0002399/0.5579, allocations: 218 kB / 0.6787 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.5582, allocations: 118.5 kB / 0.6788 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/0.5619, allocations: 1.108 MB / 0.6799 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.562, allocations: 8 kB / 0.6799 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.562, allocations: 0 / 0.6799 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.562, allocations: 3.984 kB / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/0.5673, allocations: 2.199 MB / 0.6821 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.5673, allocations: 3.984 kB / 0.6821 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.5676, allocations: 63.89 kB / 0.6821 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.5686, allocations: 300.8 kB / 0.6824 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.5687, allocations: 27.92 kB / 0.6824 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.5702, allocations: 0.9422 MB / 0.6833 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.5702, allocations: 7.938 kB / 0.6834 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003844/0.5741, allocations: 1.185 MB / 0.6845 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.5747, allocations: 263.5 kB / 0.6848 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.575, allocations: 15.94 kB / 0.6848 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009767/0.576, allocations: 79.84 kB / 0.6849 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5761, allocations: 35.89 kB / 0.6849 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.837e-05/0.5762, allocations: 23.98 kB / 0.6849 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001462/0.5776, allocations: 0.759 MB / 0.6857 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5776, allocations: 0 / 0.6857 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001881/0.5795, allocations: 0.5692 MB / 0.6862 GB, free: 15.2 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.0009721/0.5805, allocations: 396.3 kB / 0.6866 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00349/0.584, allocations: 1.16 MB / 0.6877 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.5841, allocations: 3.938 kB / 0.6877 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009713/0.585, allocations: 350.5 kB / 0.6881 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.5878, allocations: 0.5146 MB / 0.6886 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.5935, allocations: 2.044 MB / 0.6906 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.5942, allocations: 1.069 MB / 0.6916 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00109/0.5953, allocations: 225.4 kB / 0.6918 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.5956, allocations: 79.42 kB / 0.6919 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.5956, allocations: 0 / 0.6919 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of Templates: time 0.04414/0.6397, allocations: 25.14 MB / 0.7164 GB, free: 492 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)