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.0015/0.001501, allocations: 113.1 kB / 17.04 MB, free: 5.812 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.001633/0.001634, allocations: 195 kB / 17.98 MB, free: 5.027 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.382/1.382, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7229/0.7229, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.11 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.309, allocations: 76.15 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05083/0.3599, allocations: 61.21 MB / 0.6174 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.3762, allocations: 12 MB / 0.6291 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.3783, allocations: 55.69 kB / 0.6291 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.3804, allocations: 0.6791 MB / 0.6298 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005293/0.3857, allocations: 1.978 MB / 0.6317 GB, free: 8.492 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.3888, allocations: 1.206 MB / 0.6329 GB, free: 7.297 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00445/0.3933, allocations: 3.1 MB / 0.6359 GB, free: 4.191 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.395, allocations: 1.114 MB / 0.637 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003435/0.3985, allocations: 1.338 MB / 0.6383 GB, free: 1.703 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.4002, allocations: 0.9022 MB / 0.6392 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.4005, allocations: 116 kB / 0.6393 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.4035, allocations: 1.439 MB / 0.6407 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.404, allocations: 302.7 kB / 0.641 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.405, allocations: 0.692 MB / 0.6417 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.4088, allocations: 2.321 MB / 0.6439 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4088, allocations: 0 / 0.6439 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4088, allocations: 4 kB / 0.6439 GB, free: 11.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.122e-05/0.4089, allocations: 0 / 0.6439 GB, free: 11.92 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.003595/0.4125, allocations: 1.746 MB / 0.6457 GB, free: 10.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4125, allocations: 11.97 kB / 0.6457 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.4147, allocations: 410.8 kB / 0.6461 GB, free: 9.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.4173, allocations: 1.168 MB / 0.6472 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.4173, allocations: 62 kB / 0.6473 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.4175, allocations: 87.98 kB / 0.6473 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.4196, allocations: 1.025 MB / 0.6483 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.4197, allocations: 0 / 0.6483 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.4198, allocations: 32 kB / 0.6484 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.4198, allocations: 20 kB / 0.6484 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.4222, allocations: 0.8898 MB / 0.6493 GB, free: 6.309 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.006977/0.4291, allocations: 5.258 MB / 0.6544 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003418/0.4326, allocations: 0.788 MB / 0.6552 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.4334, allocations: 312.6 kB / 0.6555 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.4341, allocations: 0.9025 MB / 0.6563 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4341, allocations: 50.38 kB / 0.6564 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.474e-06/0.4341, allocations: 0 / 0.6564 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008538/0.4427, allocations: 1.888 MB / 0.6582 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.4427, allocations: 55.41 kB / 0.6583 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/0.4446, allocations: 1.08 MB / 0.6593 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.4447, allocations: 37.7 kB / 0.6594 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.4452, allocations: 0.539 MB / 0.6599 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.4454, allocations: 153.8 kB / 0.6601 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.4456, allocations: 134.2 kB / 0.6602 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4458, allocations: 330 kB / 0.6605 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.4467, allocations: 323.2 kB / 0.6608 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.4479, allocations: 0.5463 MB / 0.6613 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.4496, allocations: 0.7453 MB / 0.6621 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4496, allocations: 0 / 0.6621 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003741/0.4534, allocations: 1.18 MB / 0.6632 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.4534, allocations: 18.12 kB / 0.6632 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4535, allocations: 4 kB / 0.6632 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.4547, allocations: 306.1 kB / 0.6635 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.4553, allocations: 143.7 kB / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4568, allocations: 0.8996 MB / 0.6645 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4581, allocations: 155.2 kB / 0.6647 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4582, allocations: 31.98 kB / 0.6647 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001254/0.4595, allocations: 0.5285 MB / 0.6652 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001094/0.4606, allocations: 0.5502 MB / 0.6658 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001765/0.4624, allocations: 0.7298 MB / 0.6665 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.4624, allocations: 0 / 0.6665 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003614/0.466, allocations: 1.164 MB / 0.6676 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.466, allocations: 8 kB / 0.6676 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4661, allocations: 4 kB / 0.6676 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/0.4671, allocations: 294.9 kB / 0.6679 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.4678, allocations: 139.8 kB / 0.6681 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.4691, allocations: 0.8957 MB / 0.6689 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.4704, allocations: 143.5 kB / 0.6691 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.4705, allocations: 32 kB / 0.6691 GB, free: 0.8906 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.4708, allocations: 225.4 kB / 0.6693 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.471, allocations: 114.5 kB / 0.6694 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.4748, allocations: 1.123 MB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/0.4748, allocations: 7.984 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4749, allocations: 0 / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4749, allocations: 96 / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/0.4802, allocations: 2.21 MB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4803, allocations: 0 / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.4806, allocations: 84.16 kB / 0.6728 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009543/0.4816, allocations: 284.5 kB / 0.673 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.4817, allocations: 12 kB / 0.673 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.4831, allocations: 0.9292 MB / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4831, allocations: 4 kB / 0.674 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003661/0.4868, allocations: 1.201 MB / 0.6751 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.4874, allocations: 263.5 kB / 0.6754 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.4876, allocations: 11.98 kB / 0.6754 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009531/0.4886, allocations: 75.91 kB / 0.6755 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.4887, allocations: 43.61 kB / 0.6755 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.4887, allocations: 23.98 kB / 0.6755 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001318/0.4901, allocations: 0.7592 MB / 0.6763 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4901, allocations: 0 / 0.6763 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001696/0.4918, allocations: 0.577 MB / 0.6768 GB, free: 8.77 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.000854/0.4927, allocations: 394.3 kB / 0.6772 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003465/0.4961, allocations: 1.165 MB / 0.6783 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.4962, allocations: 0 / 0.6783 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.4972, allocations: 370.3 kB / 0.6787 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.4996, allocations: 0.5092 MB / 0.6792 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.5048, allocations: 2.019 MB / 0.6812 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.5055, allocations: 1.069 MB / 0.6822 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008961/0.5064, allocations: 226.8 kB / 0.6824 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.5067, allocations: 83.42 kB / 0.6825 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.5067, allocations: 0 / 0.6825 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of Templates: time 0.04048/0.5472, allocations: 25.21 MB / 0.7071 GB, free: 9.969 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)