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.001239/0.001239, allocations: 105.8 kB / 16.64 MB, free: 6.816 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.00128/0.00128, allocations: 194 kB / 17.57 MB, free: 5.918 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.513/1.513, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7638/0.7638, allocations: 122.9 MB / 414.3 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3852, allocations: 77.91 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05711/0.4424, allocations: 60.71 MB / 0.6266 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01752/0.46, allocations: 11.93 MB / 0.6383 GB, free: 2.188 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002925/0.463, allocations: 55.62 kB / 0.6383 GB, free: 2.133 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.4654, allocations: 0.579 MB / 0.6389 GB, free: 1.551 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006407/0.4718, allocations: 1.841 MB / 0.6407 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.4752, allocations: 1.091 MB / 0.6417 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.48, allocations: 3.124 MB / 0.6448 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.482, allocations: 1.106 MB / 0.6459 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.4857, allocations: 1.351 MB / 0.6472 GB, free: 8.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.4876, allocations: 0.9373 MB / 0.6481 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.4879, allocations: 119.9 kB / 0.6482 GB, free: 7.938 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.4912, allocations: 1.454 MB / 0.6496 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.4915, allocations: 294.8 kB / 0.6499 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.4926, allocations: 0.7036 MB / 0.6506 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.4954, allocations: 1.754 MB / 0.6523 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4955, allocations: 0 / 0.6523 GB, free: 3.727 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.809e-06/0.4955, allocations: 0 / 0.6523 GB, free: 3.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.4955, allocations: 3.938 kB / 0.6523 GB, free: 3.723 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.003258/0.4988, allocations: 1.738 MB / 0.654 GB, free: 1.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4988, allocations: 12.62 kB / 0.654 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.501, allocations: 406.8 kB / 0.6544 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.5032, allocations: 1.14 MB / 0.6555 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/0.5036, allocations: 125.9 kB / 0.6557 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5037, allocations: 76 kB / 0.6557 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.5058, allocations: 1.002 MB / 0.6567 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.5058, allocations: 0 / 0.6567 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/0.5059, allocations: 32 kB / 0.6567 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.506, allocations: 20 kB / 0.6568 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.5082, allocations: 0.8938 MB / 0.6576 GB, free: 14.12 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.006594/0.5148, allocations: 4.861 MB / 0.6624 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.5181, allocations: 0.8037 MB / 0.6632 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.5189, allocations: 320.6 kB / 0.6635 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/0.5196, allocations: 0.9103 MB / 0.6644 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.5196, allocations: 38.45 kB / 0.6644 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.384e-06/0.5196, allocations: 0 / 0.6644 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008204/0.5278, allocations: 1.965 MB / 0.6663 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5279, allocations: 55.41 kB / 0.6664 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.5295, allocations: 1.056 MB / 0.6674 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.5297, allocations: 33.7 kB / 0.6674 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/0.5301, allocations: 0.5352 MB / 0.668 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.5302, allocations: 153.8 kB / 0.6681 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.5304, allocations: 130 kB / 0.6682 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5306, allocations: 326 kB / 0.6685 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008852/0.5315, allocations: 322.9 kB / 0.6688 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5325, allocations: 0.5178 MB / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.5342, allocations: 0.7178 MB / 0.67 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5342, allocations: 4 kB / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002817/0.5371, allocations: 1.02 MB / 0.671 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.5371, allocations: 8 kB / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5371, allocations: 4 kB / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.5384, allocations: 312.7 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005599/0.539, allocations: 127.8 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.5404, allocations: 0.9113 MB / 0.6724 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.5419, allocations: 183.2 kB / 0.6725 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.542, allocations: 27.98 kB / 0.6726 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/0.5433, allocations: 0.5166 MB / 0.6731 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001035/0.5443, allocations: 0.5139 MB / 0.6736 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001674/0.546, allocations: 0.7107 MB / 0.6743 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.556e-06/0.546, allocations: 0 / 0.6743 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002775/0.5488, allocations: 1.004 MB / 0.6752 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5488, allocations: 10.03 kB / 0.6753 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5488, allocations: 4 kB / 0.6753 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.55, allocations: 315.3 kB / 0.6756 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.5505, allocations: 131.8 kB / 0.6757 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.5519, allocations: 0.9036 MB / 0.6766 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.5533, allocations: 171.4 kB / 0.6767 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.5534, allocations: 28 kB / 0.6768 GB, free: 9.496 MB / 0.5137 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.0002791/0.5537, allocations: 220.1 kB / 0.677 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.5541, allocations: 106.7 kB / 0.6771 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.5579, allocations: 1.138 MB / 0.6782 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.5579, allocations: 11.94 kB / 0.6782 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5579, allocations: 4 kB / 0.6782 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.558, allocations: 3.984 kB / 0.6782 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005733/0.5637, allocations: 2.222 MB / 0.6804 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.5637, allocations: 4 kB / 0.6804 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.5641, allocations: 67.89 kB / 0.6804 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.5651, allocations: 304.8 kB / 0.6807 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.5652, allocations: 11.98 kB / 0.6807 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.5666, allocations: 0.9425 MB / 0.6817 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5666, allocations: 7.969 kB / 0.6817 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.5703, allocations: 1.205 MB / 0.6828 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/0.5709, allocations: 263.5 kB / 0.6831 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.5712, allocations: 12 kB / 0.6831 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5723, allocations: 103.8 kB / 0.6832 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5724, allocations: 39.89 kB / 0.6832 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/0.5725, allocations: 23.98 kB / 0.6833 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001418/0.5739, allocations: 0.7431 MB / 0.684 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.81e-07/0.574, allocations: 4 kB / 0.684 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001953/0.5759, allocations: 0.5653 MB / 0.6846 GB, free: 1.316 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.001009/0.5769, allocations: 386.1 kB / 0.6849 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003529/0.5805, allocations: 1.164 MB / 0.6861 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.5805, allocations: 4 kB / 0.6861 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009863/0.5815, allocations: 370.4 kB / 0.6864 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/0.5843, allocations: 0.5101 MB / 0.6869 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.5902, allocations: 2.492 MB / 0.6893 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.591, allocations: 1.073 MB / 0.6904 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/0.5913, allocations: 79.41 kB / 0.6905 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.5913, allocations: 4 kB / 0.6905 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.03486/0.6262, allocations: 24.06 MB / 0.714 GB, free: 3.316 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)