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.001414/0.001413, allocations: 107.1 kB / 16.52 MB, free: 6.656 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.001127/0.001127, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7975/0.7975, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 493.6 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4069, allocations: 76.17 MB / 0.5564 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05612/0.4631, allocations: 60.86 MB / 0.6158 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.4817, allocations: 12.07 MB / 0.6276 GB, free: 11.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003453/0.4851, allocations: 55.62 kB / 0.6276 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.4878, allocations: 0.5555 MB / 0.6282 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006654/0.4945, allocations: 1.804 MB / 0.6299 GB, free: 9.199 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.498, allocations: 1.086 MB / 0.631 GB, free: 8.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005351/0.5033, allocations: 3.914 MB / 0.6348 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.5051, allocations: 0.9494 MB / 0.6358 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.5083, allocations: 1.167 MB / 0.6369 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.5101, allocations: 0.8982 MB / 0.6378 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002203/0.5104, allocations: 56 kB / 0.6378 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.5135, allocations: 1.333 MB / 0.6391 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.5139, allocations: 246.8 kB / 0.6394 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.5149, allocations: 0.6372 MB / 0.64 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.5174, allocations: 1.739 MB / 0.6417 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.5174, allocations: 4 kB / 0.6417 GB, free: 13.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.5174, allocations: 0 / 0.6417 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.5174, allocations: 0 / 0.6417 GB, free: 13.14 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.003205/0.5206, allocations: 1.742 MB / 0.6434 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.5207, allocations: 11.97 kB / 0.6434 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.5229, allocations: 410.8 kB / 0.6438 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.5251, allocations: 1.129 MB / 0.6449 GB, free: 9.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.5254, allocations: 121.9 kB / 0.645 GB, free: 9.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5256, allocations: 83.94 kB / 0.6451 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.5277, allocations: 1.005 MB / 0.6461 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5277, allocations: 0 / 0.6461 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.5278, allocations: 32 kB / 0.6461 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.5278, allocations: 20 kB / 0.6461 GB, free: 8.434 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.5302, allocations: 0.8899 MB / 0.647 GB, free: 7.543 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.006578/0.5368, allocations: 4.877 MB / 0.6517 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.5402, allocations: 0.7976 MB / 0.6525 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007661/0.541, allocations: 316.6 kB / 0.6528 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.5417, allocations: 0.9025 MB / 0.6537 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.5418, allocations: 50.39 kB / 0.6538 GB, free: 32 kB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.5418, allocations: 0 / 0.6538 GB, free: 32 kB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.008757/0.5505, allocations: 1.961 MB / 0.6557 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.5506, allocations: 55.41 kB / 0.6557 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.5523, allocations: 1.052 MB / 0.6568 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.5524, allocations: 33.7 kB / 0.6568 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.5529, allocations: 0.5351 MB / 0.6573 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.553, allocations: 153.8 kB / 0.6575 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.5533, allocations: 130.1 kB / 0.6576 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5534, allocations: 322 kB / 0.6579 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009456/0.5543, allocations: 322.9 kB / 0.6582 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.5555, allocations: 0.5222 MB / 0.6587 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.5572, allocations: 0.71 MB / 0.6594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5572, allocations: 4 kB / 0.6594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002829/0.5601, allocations: 1.027 MB / 0.6604 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5601, allocations: 8 kB / 0.6604 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5601, allocations: 4.438 kB / 0.6604 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.5614, allocations: 320.5 kB / 0.6607 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.562, allocations: 127.8 kB / 0.6608 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.5635, allocations: 0.9136 MB / 0.6617 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5649, allocations: 179.3 kB / 0.6619 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.565, allocations: 27.98 kB / 0.6619 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/0.5663, allocations: 0.5244 MB / 0.6624 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.5674, allocations: 0.5139 MB / 0.6629 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001642/0.569, allocations: 0.7032 MB / 0.6636 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-06/0.569, allocations: 4 kB / 0.6636 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002735/0.5718, allocations: 1.011 MB / 0.6646 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5718, allocations: 4 kB / 0.6646 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5718, allocations: 8.438 kB / 0.6646 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.573, allocations: 308.5 kB / 0.6649 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.5735, allocations: 123.8 kB / 0.6651 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.5749, allocations: 0.9098 MB / 0.6659 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5764, allocations: 159.6 kB / 0.6661 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.5765, allocations: 27.98 kB / 0.6661 GB, free: 2.914 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.0002717/0.5767, allocations: 220.1 kB / 0.6663 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.577, allocations: 110.6 kB / 0.6664 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/0.5808, allocations: 1.144 MB / 0.6676 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.5809, allocations: 11.92 kB / 0.6676 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5809, allocations: 0 / 0.6676 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5809, allocations: 3.984 kB / 0.6676 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.5861, allocations: 2.214 MB / 0.6697 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.5862, allocations: 3.938 kB / 0.6697 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.5865, allocations: 75.88 kB / 0.6698 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5875, allocations: 310.3 kB / 0.6701 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.5876, allocations: 8 kB / 0.6701 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.589, allocations: 0.947 MB / 0.671 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.589, allocations: 7.969 kB / 0.671 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.5928, allocations: 1.201 MB / 0.6722 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.5934, allocations: 267.5 kB / 0.6725 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.5936, allocations: 15.98 kB / 0.6725 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/0.5945, allocations: 95.83 kB / 0.6726 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5946, allocations: 47.83 kB / 0.6726 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.5946, allocations: 23.98 kB / 0.6726 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001148/0.5958, allocations: 0.7393 MB / 0.6734 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5958, allocations: 4 kB / 0.6734 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001691/0.5975, allocations: 0.5691 MB / 0.6739 GB, free: 10.72 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.0009076/0.5984, allocations: 386.5 kB / 0.6743 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.6018, allocations: 1.141 MB / 0.6754 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.6018, allocations: 0 / 0.6754 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009491/0.6028, allocations: 371.1 kB / 0.6758 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.6054, allocations: 0.4961 MB / 0.6762 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.6109, allocations: 2.471 MB / 0.6787 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.6115, allocations: 1.065 MB / 0.6797 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.6118, allocations: 79.42 kB / 0.6798 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.6118, allocations: 0 / 0.6798 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.03191/0.6437, allocations: 24.12 MB / 0.7033 GB, free: 12.71 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)