Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4573/0.4573, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 112.7 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 0.4891 GB, free: 7.719 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3365, allocations: 70.05 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0445/0.3811, allocations: 60.79 MB / 0.6168 GB, free: 252 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.3982, allocations: 12.06 MB / 0.6286 GB, free: 4.148 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.4006, allocations: 51.69 kB / 0.6287 GB, free: 4.098 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.4025, allocations: 0.5477 MB / 0.6292 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.4077, allocations: 1.802 MB / 0.631 GB, free: 1.738 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.4105, allocations: 1.075 MB / 0.632 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.4151, allocations: 3.921 MB / 0.6359 GB, free: 12.74 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.4165, allocations: 0.9451 MB / 0.6368 GB, free: 11.77 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.4188, allocations: 1.17 MB / 0.6379 GB, free: 10.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.4199, allocations: 0.8905 MB / 0.6388 GB, free: 9.695 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.42, allocations: 60 kB / 0.6388 GB, free: 9.637 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.4225, allocations: 1.341 MB / 0.6402 GB, free: 8.293 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.4228, allocations: 238.8 kB / 0.6404 GB, free: 8.059 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006128/0.4234, allocations: 0.6295 MB / 0.641 GB, free: 7.426 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.426, allocations: 2.228 MB / 0.6432 GB, free: 5.191 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.426, allocations: 0 / 0.6432 GB, free: 5.191 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.426, allocations: 4 kB / 0.6432 GB, free: 5.188 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.426, allocations: 0 / 0.6432 GB, free: 5.188 MB / 458.7 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.002782/0.4288, allocations: 1.726 MB / 0.6449 GB, free: 3.398 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4289, allocations: 12.03 kB / 0.6449 GB, free: 3.387 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.4309, allocations: 402.9 kB / 0.6453 GB, free: 2.992 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.4329, allocations: 1.132 MB / 0.6464 GB, free: 1.805 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.4333, allocations: 117.9 kB / 0.6465 GB, free: 1.688 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4334, allocations: 84 kB / 0.6466 GB, free: 1.605 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.4353, allocations: 0.9739 MB / 0.6475 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4353, allocations: 0 / 0.6475 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.4354, allocations: 32 kB / 0.6475 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.4355, allocations: 20 kB / 0.6476 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.4378, allocations: 0.8625 MB / 0.6484 GB, free: 15.68 MB / 474.7 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.00643/0.4442, allocations: 4.84 MB / 0.6531 GB, free: 10.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.4476, allocations: 0.7921 MB / 0.6539 GB, free: 9.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007413/0.4484, allocations: 304.7 kB / 0.6542 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.4491, allocations: 0.8986 MB / 0.6551 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.4492, allocations: 42.44 kB / 0.6551 GB, free: 8.227 MB / 474.7 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.4492, allocations: 0 / 0.6551 GB, free: 8.227 MB / 474.7 MB Notification: Performance of matching and sorting (n=43): time 0.008701/0.4579, allocations: 1.918 MB / 0.657 GB, free: 6.277 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.458, allocations: 63.34 kB / 0.657 GB, free: 6.203 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.4596, allocations: 1.044 MB / 0.6581 GB, free: 5.145 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/0.4597, allocations: 37.7 kB / 0.6581 GB, free: 5.102 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.4602, allocations: 0.5195 MB / 0.6586 GB, free: 4.578 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.4603, allocations: 157.7 kB / 0.6588 GB, free: 4.422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.4605, allocations: 130 kB / 0.6589 GB, free: 4.285 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4607, allocations: 334 kB / 0.6592 GB, free: 3.953 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.4616, allocations: 298.9 kB / 0.6595 GB, free: 3.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4626, allocations: 0.5069 MB / 0.66 GB, free: 3.066 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.4643, allocations: 0.6849 MB / 0.6606 GB, free: 2.324 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4643, allocations: 0 / 0.6606 GB, free: 2.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002617/0.4669, allocations: 0.985 MB / 0.6616 GB, free: 1.328 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4669, allocations: 4.438 kB / 0.6616 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4669, allocations: 12 kB / 0.6616 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.4682, allocations: 317.4 kB / 0.6619 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.4687, allocations: 115.8 kB / 0.662 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.4702, allocations: 0.9256 MB / 0.6629 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.4714, allocations: 171.2 kB / 0.6631 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-05/0.4715, allocations: 27.98 kB / 0.6631 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001173/0.4727, allocations: 0.5088 MB / 0.6636 GB, free: 15.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/0.4738, allocations: 0.5022 MB / 0.6641 GB, free: 14.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001563/0.4753, allocations: 0.6719 MB / 0.6648 GB, free: 13.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.865e-06/0.4753, allocations: 4 kB / 0.6648 GB, free: 13.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002638/0.478, allocations: 0.9807 MB / 0.6657 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.478, allocations: 13.66 kB / 0.6657 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.478, allocations: 4 kB / 0.6658 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.4791, allocations: 305 kB / 0.666 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.4796, allocations: 119.8 kB / 0.6662 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.4811, allocations: 0.9058 MB / 0.667 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.4824, allocations: 159.5 kB / 0.6672 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/0.4824, allocations: 27.98 kB / 0.6672 GB, free: 11.36 MB / 490.7 MB 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.0002162/0.4827, allocations: 221.6 kB / 0.6674 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.4829, allocations: 110.6 kB / 0.6675 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.4866, allocations: 1.098 MB / 0.6686 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.4866, allocations: 7.984 kB / 0.6686 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4866, allocations: 3.938 kB / 0.6686 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4867, allocations: 0 / 0.6686 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005171/0.4918, allocations: 2.16 MB / 0.6707 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4919, allocations: 11.98 kB / 0.6707 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.4922, allocations: 59.89 kB / 0.6708 GB, free: 7.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.4932, allocations: 300.9 kB / 0.6711 GB, free: 7.293 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.4933, allocations: 15.98 kB / 0.6711 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.4948, allocations: 0.9442 MB / 0.672 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4948, allocations: 7.969 kB / 0.672 GB, free: 6.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005022/0.4998, allocations: 2.248 MB / 0.6742 GB, free: 3.965 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.5003, allocations: 263.5 kB / 0.6745 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5005, allocations: 12 kB / 0.6745 GB, free: 3.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008807/0.5014, allocations: 95.8 kB / 0.6746 GB, free: 3.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.5015, allocations: 39.89 kB / 0.6746 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.5015, allocations: 27.92 kB / 0.6746 GB, free: 3.516 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.5028, allocations: 0.7389 MB / 0.6754 GB, free: 2.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5028, allocations: 0 / 0.6754 GB, free: 2.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001935/0.5047, allocations: 0.5692 MB / 0.6759 GB, free: 2.199 MB / 490.7 MB 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.0008145/0.5056, allocations: 383.6 kB / 0.6763 GB, free: 1.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.5088, allocations: 1.097 MB / 0.6774 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5088, allocations: 0 / 0.6774 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.5097, allocations: 356.4 kB / 0.6777 GB, free: 388 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.5124, allocations: 0.4954 MB / 0.6782 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.5179, allocations: 2.719 MB / 0.6808 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.5186, allocations: 1.069 MB / 0.6819 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009649/0.5195, allocations: 216.7 kB / 0.6821 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.5197, allocations: 75.42 kB / 0.6822 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.5197, allocations: 0 / 0.6822 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.0385/0.5582, allocations: 24.42 MB / 0.706 GB, free: 3.512 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)