Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 102.4 kB / 16.64 MB, free: 6.824 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.001817/0.001817, allocations: 193.9 kB / 17.57 MB, free: 5.934 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.446/1.446, allocations: 222.9 MB / 241.2 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.7888/0.7888, allocations: 122.9 MB / 414.3 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 63.91 kB / 0.4912 GB, free: 7.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4106, allocations: 77.92 MB / 0.5673 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05388/0.4645, allocations: 60.68 MB / 0.6266 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.4807, allocations: 11.91 MB / 0.6382 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.4832, allocations: 55.62 kB / 0.6383 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.485, allocations: 0.579 MB / 0.6388 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.4907, allocations: 1.831 MB / 0.6406 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.4937, allocations: 1.101 MB / 0.6417 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004512/0.4982, allocations: 3.098 MB / 0.6447 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.5, allocations: 1.129 MB / 0.6458 GB, free: 10.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.5033, allocations: 1.327 MB / 0.6471 GB, free: 9.117 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.5056, allocations: 0.9413 MB / 0.648 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.5059, allocations: 116 kB / 0.6481 GB, free: 8.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.509, allocations: 1.454 MB / 0.6496 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003083/0.5093, allocations: 298.8 kB / 0.6498 GB, free: 6.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008056/0.5101, allocations: 0.7075 MB / 0.6505 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.5124, allocations: 1.758 MB / 0.6523 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5124, allocations: 0 / 0.6523 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5124, allocations: 4 kB / 0.6523 GB, free: 3.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5124, allocations: 0 / 0.6523 GB, free: 3.832 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.002857/0.5153, allocations: 1.73 MB / 0.6539 GB, free: 2.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5153, allocations: 12.62 kB / 0.654 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.5178, allocations: 454.8 kB / 0.6544 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.5198, allocations: 1.145 MB / 0.6555 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003317/0.5201, allocations: 117.9 kB / 0.6556 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.5202, allocations: 84 kB / 0.6557 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.5223, allocations: 1.002 MB / 0.6567 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5223, allocations: 0 / 0.6567 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.5224, allocations: 39.94 kB / 0.6567 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.5224, allocations: 24 kB / 0.6567 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.5247, allocations: 0.9485 MB / 0.6577 GB, free: 14.14 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.006448/0.5312, allocations: 4.686 MB / 0.6622 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.5351, allocations: 1.016 MB / 0.6632 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009888/0.5361, allocations: 409.9 kB / 0.6636 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009575/0.5371, allocations: 1.021 MB / 0.6646 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5371, allocations: 39 kB / 0.6647 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/0.5371, allocations: 0 / 0.6647 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.008966/0.5461, allocations: 2.232 MB / 0.6668 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.5462, allocations: 59.84 kB / 0.6669 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.5479, allocations: 0.9431 MB / 0.6678 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.264e-05/0.548, allocations: 37.7 kB / 0.6679 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.5485, allocations: 0.4963 MB / 0.6683 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.5487, allocations: 185.3 kB / 0.6685 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.5489, allocations: 130 kB / 0.6686 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5491, allocations: 330 kB / 0.669 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.5501, allocations: 358.9 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5512, allocations: 0.5155 MB / 0.6698 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/0.5531, allocations: 0.7658 MB / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5531, allocations: 0 / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002789/0.5559, allocations: 1.068 MB / 0.6716 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.556, allocations: 4 kB / 0.6716 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.556, allocations: 4.312 kB / 0.6716 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.5573, allocations: 322.6 kB / 0.6719 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.5579, allocations: 127.8 kB / 0.672 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.5592, allocations: 0.9074 MB / 0.6729 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.5604, allocations: 159.3 kB / 0.6731 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.5605, allocations: 35.92 kB / 0.6731 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/0.5618, allocations: 0.5602 MB / 0.6736 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001131/0.5629, allocations: 0.5078 MB / 0.6741 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001926/0.5649, allocations: 0.7579 MB / 0.6749 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.5649, allocations: 0 / 0.6749 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003/0.5679, allocations: 1.057 MB / 0.6759 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5679, allocations: 8 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5679, allocations: 4.312 kB / 0.6759 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5691, allocations: 307.3 kB / 0.6762 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/0.5698, allocations: 139.7 kB / 0.6764 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.5713, allocations: 0.9035 MB / 0.6772 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.5727, allocations: 151.5 kB / 0.6774 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/0.5728, allocations: 35.92 kB / 0.6774 GB, free: 8.969 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0004254/0.5733, allocations: 228 kB / 0.6776 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/0.5736, allocations: 102.7 kB / 0.6777 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/0.5783, allocations: 1.325 MB / 0.679 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/0.5784, allocations: 8 kB / 0.679 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.5784, allocations: 0 / 0.679 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.5784, allocations: 3.984 kB / 0.679 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.5849, allocations: 2.408 MB / 0.6814 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.585, allocations: 4 kB / 0.6814 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.5856, allocations: 103.8 kB / 0.6815 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.5866, allocations: 306.2 kB / 0.6818 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.5867, allocations: 15.98 kB / 0.6818 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.5881, allocations: 0.9447 MB / 0.6827 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5881, allocations: 0 / 0.6827 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004129/0.5922, allocations: 1.339 MB / 0.684 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.5929, allocations: 279.5 kB / 0.6843 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.5931, allocations: 15.84 kB / 0.6843 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.5942, allocations: 115.8 kB / 0.6844 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.5943, allocations: 44.33 kB / 0.6845 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.5944, allocations: 27.98 kB / 0.6845 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001059/0.5955, allocations: 0.6557 MB / 0.6851 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5955, allocations: 0 / 0.6851 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001707/0.5972, allocations: 0.5691 MB / 0.6857 GB, free: 324 kB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009567/0.5982, allocations: 389.5 kB / 0.6861 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003969/0.6021, allocations: 1.346 MB / 0.6874 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6022, allocations: 0 / 0.6874 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.6034, allocations: 464.8 kB / 0.6878 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.606, allocations: 0.4916 MB / 0.6883 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.6103, allocations: 2.337 MB / 0.6906 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.611, allocations: 1.062 MB / 0.6916 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.6114, allocations: 87.39 kB / 0.6917 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.6114, allocations: 0 / 0.6917 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.03375/0.6451, allocations: 23.91 MB / 0.715 GB, free: 2.371 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)