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.001625/0.001625, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001365/0.001365, allocations: 193 kB / 16.91 MB, free: 6.195 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7442/0.7442, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 0.4906 GB, free: 7.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3749, allocations: 77.92 MB / 0.5667 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05601/0.431, allocations: 60.72 MB / 0.626 GB, free: 14.19 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0173/0.4483, allocations: 11.92 MB / 0.6376 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.4511, allocations: 55.62 kB / 0.6377 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.4532, allocations: 0.579 MB / 0.6382 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005853/0.4591, allocations: 1.836 MB / 0.64 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.4622, allocations: 1.092 MB / 0.6411 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004483/0.4667, allocations: 3.126 MB / 0.6441 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.4684, allocations: 1.118 MB / 0.6452 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/0.4717, allocations: 1.34 MB / 0.6465 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.4735, allocations: 0.9334 MB / 0.6475 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.4739, allocations: 116 kB / 0.6476 GB, free: 7.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.4773, allocations: 1.458 MB / 0.649 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004432/0.4778, allocations: 294.9 kB / 0.6493 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009686/0.4788, allocations: 0.7114 MB / 0.65 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.4821, allocations: 2.29 MB / 0.6522 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4822, allocations: 4 kB / 0.6522 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4822, allocations: 3.938 kB / 0.6522 GB, free: 3.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.4822, allocations: 3.984 kB / 0.6522 GB, free: 3.215 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.003094/0.4853, allocations: 1.73 MB / 0.6539 GB, free: 1.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4854, allocations: 8.625 kB / 0.6539 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.4875, allocations: 410.8 kB / 0.6543 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.4895, allocations: 1.133 MB / 0.6554 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.4899, allocations: 117.9 kB / 0.6555 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.49, allocations: 80 kB / 0.6556 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.4921, allocations: 1.009 MB / 0.6566 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4921, allocations: 0 / 0.6566 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.4922, allocations: 32 kB / 0.6566 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.4923, allocations: 20 kB / 0.6566 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.4946, allocations: 0.8938 MB / 0.6575 GB, free: 13.63 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.006534/0.5012, allocations: 4.873 MB / 0.6623 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.5046, allocations: 0.799 MB / 0.663 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/0.5054, allocations: 316.6 kB / 0.6633 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.5061, allocations: 0.9025 MB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5062, allocations: 50.45 kB / 0.6643 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.976e-06/0.5062, allocations: 0 / 0.6643 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008625/0.5148, allocations: 1.957 MB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.5149, allocations: 55.41 kB / 0.6662 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.5165, allocations: 1.052 MB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.5165, allocations: 41.7 kB / 0.6673 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.517, allocations: 0.5312 MB / 0.6678 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.5171, allocations: 153.8 kB / 0.668 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.5173, allocations: 134 kB / 0.6681 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5175, allocations: 326 kB / 0.6684 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000892/0.5184, allocations: 322.9 kB / 0.6687 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/0.5194, allocations: 0.5217 MB / 0.6692 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.5213, allocations: 0.7178 MB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5213, allocations: 0 / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002734/0.524, allocations: 1.019 MB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5241, allocations: 10.31 kB / 0.6709 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5241, allocations: 8 kB / 0.6709 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.5252, allocations: 310.9 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.5258, allocations: 127.8 kB / 0.6714 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.5272, allocations: 0.9113 MB / 0.6723 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5285, allocations: 183.2 kB / 0.6724 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.5286, allocations: 27.98 kB / 0.6725 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/0.5298, allocations: 0.5244 MB / 0.673 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.5309, allocations: 0.5178 MB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001634/0.5325, allocations: 0.699 MB / 0.6742 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.5325, allocations: 0 / 0.6742 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002744/0.5353, allocations: 1.016 MB / 0.6751 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.5353, allocations: 4 kB / 0.6752 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5353, allocations: 8 kB / 0.6752 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.5364, allocations: 311.2 kB / 0.6755 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.537, allocations: 123.8 kB / 0.6756 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.5383, allocations: 0.8997 MB / 0.6765 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.5397, allocations: 171.5 kB / 0.6766 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.5398, allocations: 27.98 kB / 0.6766 GB, free: 9.004 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.0002356/0.54, allocations: 216.1 kB / 0.6768 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.5402, allocations: 106.7 kB / 0.677 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003751/0.544, allocations: 1.142 MB / 0.6781 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.544, allocations: 7.938 kB / 0.6781 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.544, allocations: 0 / 0.6781 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.544, allocations: 3.984 kB / 0.6781 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.5492, allocations: 2.23 MB / 0.6803 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5492, allocations: 8.031 kB / 0.6803 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.5496, allocations: 75.88 kB / 0.6803 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/0.5506, allocations: 296.6 kB / 0.6806 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.5506, allocations: 12 kB / 0.6806 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.5521, allocations: 0.9487 MB / 0.6816 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5521, allocations: 3.938 kB / 0.6816 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.5559, allocations: 1.208 MB / 0.6827 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.5564, allocations: 263.5 kB / 0.683 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/0.5567, allocations: 16 kB / 0.683 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.5577, allocations: 99.8 kB / 0.6831 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.5578, allocations: 43.83 kB / 0.6831 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/0.5579, allocations: 23.98 kB / 0.6832 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001401/0.5593, allocations: 0.7393 MB / 0.6839 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5593, allocations: 0 / 0.6839 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00202/0.5613, allocations: 0.5652 MB / 0.6844 GB, free: 0.8203 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.001004/0.5623, allocations: 384.1 kB / 0.6848 GB, free: 460 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003487/0.5658, allocations: 1.175 MB / 0.686 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5658, allocations: 0 / 0.686 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.5669, allocations: 362.5 kB / 0.6863 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.5694, allocations: 0.5091 MB / 0.6868 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.5751, allocations: 2.461 MB / 0.6892 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.5758, allocations: 1.069 MB / 0.6902 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001019/0.5769, allocations: 231.5 kB / 0.6905 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5771, allocations: 71.42 kB / 0.6905 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.5771, allocations: 0 / 0.6905 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.04292/0.62, allocations: 24.77 MB / 0.7147 GB, free: 2.043 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)