Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007904/0.0007905, allocations: 91.06 kB / 16.67 MB, free: 6.594 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.0008899/0.0008899, allocations: 184.4 kB / 17.58 MB, free: 6.188 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.379/1.379, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7506/0.7506, allocations: 115.5 MB / 408.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4642/0.4646, allocations: 77.51 MB / 0.5606 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06061/0.5252, allocations: 59.76 MB / 0.6189 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.5437, allocations: 11.92 MB / 0.6306 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00313/0.5469, allocations: 51.62 kB / 0.6306 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.5494, allocations: 0.5516 MB / 0.6312 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00666/0.5561, allocations: 1.816 MB / 0.6329 GB, free: 9.156 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.5598, allocations: 1.09 MB / 0.634 GB, free: 8.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.5655, allocations: 3.917 MB / 0.6378 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.5676, allocations: 0.9129 MB / 0.6387 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.5708, allocations: 1.127 MB / 0.6398 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.5727, allocations: 0.8592 MB / 0.6407 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.573, allocations: 40 kB / 0.6407 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.5764, allocations: 1.325 MB / 0.642 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.5769, allocations: 214.9 kB / 0.6422 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.5783, allocations: 0.6427 MB / 0.6428 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.5813, allocations: 1.695 MB / 0.6445 GB, free: 13.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5813, allocations: 8 kB / 0.6445 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5813, allocations: 0 / 0.6445 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.705e-05/0.5814, allocations: 0 / 0.6445 GB, free: 13.28 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003618/0.585, allocations: 1.505 MB / 0.646 GB, free: 11.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.5851, allocations: 15.97 kB / 0.646 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.5875, allocations: 478.8 kB / 0.6464 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.5901, allocations: 1.129 MB / 0.6475 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/0.5905, allocations: 137.8 kB / 0.6477 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.5907, allocations: 76 kB / 0.6477 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.5931, allocations: 1.032 MB / 0.6487 GB, free: 8.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.5931, allocations: 4 kB / 0.6487 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.5932, allocations: 32 kB / 0.6488 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.5933, allocations: 16 kB / 0.6488 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.596, allocations: 0.9679 MB / 0.6497 GB, free: 7.746 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.007506/0.6035, allocations: 4.92 MB / 0.6545 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003655/0.6072, allocations: 0.9073 MB / 0.6554 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.6081, allocations: 340.6 kB / 0.6558 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.6088, allocations: 0.9064 MB / 0.6566 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.6089, allocations: 42.45 kB / 0.6567 GB, free: 60 kB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 3.236e-06/0.6089, allocations: 0 / 0.6567 GB, free: 60 kB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.009478/0.6183, allocations: 2.223 MB / 0.6588 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6184, allocations: 55.41 kB / 0.6589 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.6204, allocations: 1.064 MB / 0.6599 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.6205, allocations: 33.7 kB / 0.66 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004761/0.621, allocations: 0.5313 MB / 0.6605 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.6212, allocations: 157.7 kB / 0.6606 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.6213, allocations: 49.69 kB / 0.6607 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6215, allocations: 326 kB / 0.661 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.6225, allocations: 340.9 kB / 0.6613 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6237, allocations: 0.5607 MB / 0.6619 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.6255, allocations: 0.7764 MB / 0.6626 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.6256, allocations: 0 / 0.6626 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003128/0.6287, allocations: 1.094 MB / 0.6637 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.6289, allocations: 213.1 kB / 0.6639 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6289, allocations: 11.92 kB / 0.6639 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.6303, allocations: 328.6 kB / 0.6642 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.6309, allocations: 131.8 kB / 0.6644 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.6325, allocations: 0.9464 MB / 0.6653 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.6341, allocations: 211.2 kB / 0.6655 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.55e-05/0.6342, allocations: 31.97 kB / 0.6655 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6342, allocations: 4 kB / 0.6655 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002669/0.6369, allocations: 0.9492 MB / 0.6664 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6369, allocations: 11.88 kB / 0.6664 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.6381, allocations: 327.7 kB / 0.6668 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.6387, allocations: 135.8 kB / 0.6669 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.6401, allocations: 0.931 MB / 0.6678 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.6415, allocations: 179.3 kB / 0.668 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/0.6416, allocations: 35.92 kB / 0.668 GB, free: 4.094 MB / 0.4981 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 (52): * Single equations (assignments): 51 * 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.000685/0.6423, allocations: 353.8 kB / 0.6683 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.6426, allocations: 114.6 kB / 0.6685 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004337/0.647, allocations: 1.242 MB / 0.6697 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.647, allocations: 11.98 kB / 0.6697 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.647, allocations: 0 / 0.6697 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.647, allocations: 3.938 kB / 0.6697 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006283/0.6533, allocations: 2.327 MB / 0.672 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.6534, allocations: 4.281 kB / 0.672 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.6537, allocations: 79.88 kB / 0.672 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.6549, allocations: 322.4 kB / 0.6723 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.6549, allocations: 23.98 kB / 0.6724 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.6565, allocations: 0.9621 MB / 0.6733 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6565, allocations: 4 kB / 0.6733 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.6608, allocations: 1.325 MB / 0.6746 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009005/0.6617, allocations: 283.4 kB / 0.6749 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/0.6621, allocations: 12 kB / 0.6749 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.6633, allocations: 119.8 kB / 0.675 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.6634, allocations: 43.81 kB / 0.675 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.6635, allocations: 27.98 kB / 0.6751 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001446/0.6649, allocations: 0.7432 MB / 0.6758 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.344e-06/0.6649, allocations: 0 / 0.6758 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001927/0.6669, allocations: 0.573 MB / 0.6764 GB, free: 11.35 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 (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.0009099/0.6678, allocations: 380.3 kB / 0.6767 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.6713, allocations: 1.223 MB / 0.6779 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6714, allocations: 0 / 0.6779 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.6724, allocations: 398.3 kB / 0.6783 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.6756, allocations: 0.5038 MB / 0.6788 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006216/0.6818, allocations: 2.598 MB / 0.6813 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.6827, allocations: 1.065 MB / 0.6824 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.683, allocations: 75.42 kB / 0.6824 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of SimCode: time 1.533e-06/0.6831, allocations: 0 / 0.6824 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of Templates: time 0.03723/0.7203, allocations: 23.94 MB / 0.7058 GB, free: 13.27 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)