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.0008505/0.0008507, allocations: 88.44 kB / 16.67 MB, free: 6.59 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.0009525/0.0009525, allocations: 183.9 kB / 17.58 MB, free: 6.188 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.381/1.381, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7081/0.7081, allocations: 115.5 MB / 408.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.417, allocations: 77.52 MB / 0.5606 GB, free: 36.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05696/0.474, allocations: 59.71 MB / 0.6189 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01823/0.4923, allocations: 11.92 MB / 0.6305 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.4953, allocations: 59.62 kB / 0.6306 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.4976, allocations: 0.5477 MB / 0.6311 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00644/0.5041, allocations: 1.804 MB / 0.6329 GB, free: 9.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.5073, allocations: 1.07 MB / 0.6339 GB, free: 8.102 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005518/0.5128, allocations: 3.921 MB / 0.6378 GB, free: 4.176 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.5145, allocations: 0.9168 MB / 0.6387 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.5172, allocations: 1.108 MB / 0.6397 GB, free: 2.117 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.5187, allocations: 0.863 MB / 0.6406 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.5188, allocations: 48 kB / 0.6406 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.5219, allocations: 1.325 MB / 0.6419 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.5221, allocations: 222.8 kB / 0.6421 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007848/0.5229, allocations: 0.6311 MB / 0.6427 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.5252, allocations: 1.707 MB / 0.6444 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.5252, allocations: 0 / 0.6444 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5252, allocations: 0 / 0.6444 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5252, allocations: 0 / 0.6444 GB, free: 13.3 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.002877/0.5281, allocations: 1.497 MB / 0.6459 GB, free: 11.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5282, allocations: 11.97 kB / 0.6459 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.5307, allocations: 0.5144 MB / 0.6464 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.5328, allocations: 1.148 MB / 0.6475 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.5332, allocations: 129.9 kB / 0.6476 GB, free: 9.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5333, allocations: 84 kB / 0.6477 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.5355, allocations: 1.037 MB / 0.6487 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.5356, allocations: 0 / 0.6487 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.5357, allocations: 32 kB / 0.6488 GB, free: 8.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5357, allocations: 20 kB / 0.6488 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.5384, allocations: 1.011 MB / 0.6498 GB, free: 7.68 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.006311/0.5447, allocations: 4.725 MB / 0.6544 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.549, allocations: 1.129 MB / 0.6555 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.5502, allocations: 441.9 kB / 0.6559 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.5514, allocations: 1.029 MB / 0.6569 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.5514, allocations: 39 kB / 0.6569 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.515e-06/0.5514, allocations: 0 / 0.6569 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.01051/0.562, allocations: 2.502 MB / 0.6594 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.5621, allocations: 59.84 kB / 0.6594 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.5635, allocations: 0.9315 MB / 0.6604 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.5636, allocations: 41.7 kB / 0.6604 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/0.5641, allocations: 0.504 MB / 0.6609 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.5643, allocations: 189.3 kB / 0.6611 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.5644, allocations: 49.7 kB / 0.6611 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5645, allocations: 326 kB / 0.6614 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.5656, allocations: 388.9 kB / 0.6618 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.5669, allocations: 0.5389 MB / 0.6623 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.5691, allocations: 0.8244 MB / 0.6631 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5691, allocations: 0 / 0.6631 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003272/0.5724, allocations: 1.142 MB / 0.6642 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.5725, allocations: 164.4 kB / 0.6644 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5725, allocations: 7.984 kB / 0.6644 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.5739, allocations: 324.5 kB / 0.6647 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/0.5746, allocations: 147.8 kB / 0.6649 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.5762, allocations: 0.9417 MB / 0.6658 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.5775, allocations: 175.3 kB / 0.6659 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.5776, allocations: 27.98 kB / 0.666 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.5776, allocations: 6.031 kB / 0.666 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002894/0.5805, allocations: 1.005 MB / 0.667 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5806, allocations: 4 kB / 0.667 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.5817, allocations: 324.8 kB / 0.6673 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.5824, allocations: 147.8 kB / 0.6674 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.5839, allocations: 0.9347 MB / 0.6683 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.5852, allocations: 171.4 kB / 0.6685 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.5853, allocations: 27.98 kB / 0.6685 GB, free: 3.594 MB / 0.4981 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.0006234/0.5859, allocations: 353.8 kB / 0.6689 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.5861, allocations: 106.6 kB / 0.669 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004776/0.5909, allocations: 1.44 MB / 0.6704 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.591, allocations: 4 kB / 0.6704 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.591, allocations: 0 / 0.6704 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.591, allocations: 3.984 kB / 0.6704 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.5973, allocations: 2.533 MB / 0.6728 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.5974, allocations: 4 kB / 0.6728 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.598, allocations: 116 kB / 0.673 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.5991, allocations: 316.5 kB / 0.6733 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.5992, allocations: 15.98 kB / 0.6733 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.6007, allocations: 0.9716 MB / 0.6742 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6007, allocations: 3.938 kB / 0.6742 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/0.6055, allocations: 1.464 MB / 0.6757 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000777/0.6063, allocations: 291.5 kB / 0.6759 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.6064, allocations: 16 kB / 0.6759 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009801/0.6074, allocations: 123.8 kB / 0.6761 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.6075, allocations: 40.33 kB / 0.6761 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.6076, allocations: 27.92 kB / 0.6761 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009517/0.6085, allocations: 0.6596 MB / 0.6768 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6086, allocations: 0 / 0.6768 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001589/0.6102, allocations: 0.5691 MB / 0.6773 GB, free: 10.38 MB / 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.0008633/0.611, allocations: 384.7 kB / 0.6777 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004098/0.6151, allocations: 1.401 MB / 0.6791 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6152, allocations: 0 / 0.6791 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.6165, allocations: 496.8 kB / 0.6795 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/0.6196, allocations: 0.4912 MB / 0.68 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/0.6239, allocations: 2.406 MB / 0.6824 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.6245, allocations: 1.066 MB / 0.6834 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.6249, allocations: 83.41 kB / 0.6835 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6249, allocations: 0 / 0.6835 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of Templates: time 0.0357/0.6606, allocations: 23.84 MB / 0.7068 GB, free: 12.32 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)