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.0009969/0.000997, allocations: 108.6 kB / 17.03 MB, free: 6.094 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.0009676/0.0009677, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.239/1.239, 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.682/0.682, allocations: 115.1 MB / 406.9 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04904/0.366, allocations: 61.17 MB / 0.6173 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.3818, allocations: 11.99 MB / 0.629 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/0.3841, allocations: 59.62 kB / 0.6291 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3864, allocations: 0.6831 MB / 0.6297 GB, free: 10.51 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006567/0.393, allocations: 1.965 MB / 0.6316 GB, free: 8.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.3962, allocations: 1.21 MB / 0.6328 GB, free: 7.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004439/0.4007, allocations: 3.083 MB / 0.6358 GB, free: 4.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001582/0.4023, allocations: 1.141 MB / 0.6369 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.4052, allocations: 1.32 MB / 0.6382 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.4067, allocations: 0.9101 MB / 0.6391 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.4069, allocations: 120 kB / 0.6392 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.4096, allocations: 1.447 MB / 0.6407 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.4099, allocations: 298.9 kB / 0.6409 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.4107, allocations: 0.7036 MB / 0.6416 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.4141, allocations: 2.317 MB / 0.6439 GB, free: 11.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4141, allocations: 7.938 kB / 0.6439 GB, free: 11.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4141, allocations: 0 / 0.6439 GB, free: 11.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.4142, allocations: 0 / 0.6439 GB, free: 11.94 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.002939/0.4171, allocations: 1.732 MB / 0.6456 GB, free: 10.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4172, allocations: 12.03 kB / 0.6456 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.4195, allocations: 454.8 kB / 0.646 GB, free: 9.695 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.4217, allocations: 1.183 MB / 0.6472 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.4218, allocations: 62 kB / 0.6472 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.4219, allocations: 87.94 kB / 0.6473 GB, free: 8.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.4241, allocations: 0.994 MB / 0.6483 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4242, allocations: 3.938 kB / 0.6483 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.4243, allocations: 36 kB / 0.6483 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.4243, allocations: 27.92 kB / 0.6484 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.4267, allocations: 0.9368 MB / 0.6493 GB, free: 6.281 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.005757/0.4324, allocations: 4.678 MB / 0.6538 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0036/0.436, allocations: 0.9886 MB / 0.6548 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009583/0.437, allocations: 419 kB / 0.6552 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/0.4379, allocations: 1.009 MB / 0.6562 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4379, allocations: 42.94 kB / 0.6562 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.4379, allocations: 0 / 0.6562 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.00833/0.4463, allocations: 2.17 MB / 0.6584 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4463, allocations: 63.78 kB / 0.6584 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.4475, allocations: 0.9471 MB / 0.6593 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/0.4476, allocations: 37.7 kB / 0.6594 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.448, allocations: 0.5001 MB / 0.6599 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.4481, allocations: 181.3 kB / 0.66 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.4484, allocations: 130.1 kB / 0.6602 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.4485, allocations: 325.9 kB / 0.6605 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/0.4494, allocations: 362.8 kB / 0.6608 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.4505, allocations: 0.5078 MB / 0.6613 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.4523, allocations: 0.754 MB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.4523, allocations: 4 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002668/0.455, allocations: 1.061 MB / 0.6631 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.455, allocations: 8 kB / 0.6631 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.455, allocations: 0 / 0.6631 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.4561, allocations: 304.7 kB / 0.6634 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.4568, allocations: 139.8 kB / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.458, allocations: 0.8892 MB / 0.6644 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/0.459, allocations: 127.2 kB / 0.6645 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.459, allocations: 31.98 kB / 0.6645 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/0.4602, allocations: 0.5517 MB / 0.6651 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001037/0.4613, allocations: 0.5164 MB / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001771/0.4631, allocations: 0.7385 MB / 0.6663 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.4631, allocations: 4 kB / 0.6663 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002528/0.4656, allocations: 1.041 MB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4656, allocations: 7.984 kB / 0.6673 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4656, allocations: 8.25 kB / 0.6673 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/0.4666, allocations: 293.7 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.4672, allocations: 135.8 kB / 0.6678 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/0.4684, allocations: 0.897 MB / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/0.4694, allocations: 111.6 kB / 0.6687 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.4694, allocations: 27.98 kB / 0.6688 GB, free: 1.375 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.0002162/0.4697, allocations: 216.1 kB / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.4698, allocations: 106.7 kB / 0.6691 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.4738, allocations: 1.304 MB / 0.6703 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.4739, allocations: 4 kB / 0.6704 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4739, allocations: 7.938 kB / 0.6704 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4739, allocations: 3.984 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.4791, allocations: 2.412 MB / 0.6727 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.4791, allocations: 0 / 0.6727 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.4797, allocations: 108 kB / 0.6728 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008622/0.4805, allocations: 280.5 kB / 0.6731 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.4806, allocations: 23.98 kB / 0.6731 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.4819, allocations: 0.925 MB / 0.674 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4819, allocations: 4.031 kB / 0.674 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003708/0.4856, allocations: 1.331 MB / 0.6753 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.486, allocations: 275.5 kB / 0.6756 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4861, allocations: 16 kB / 0.6756 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000775/0.4869, allocations: 79.84 kB / 0.6757 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.487, allocations: 36.39 kB / 0.6757 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.4871, allocations: 23.98 kB / 0.6757 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008045/0.4879, allocations: 0.6674 MB / 0.6764 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.994e-06/0.4879, allocations: 0 / 0.6764 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00128/0.4892, allocations: 0.5768 MB / 0.6769 GB, free: 8.816 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.0006752/0.4899, allocations: 385.8 kB / 0.6773 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.4932, allocations: 1.303 MB / 0.6786 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4932, allocations: 3.938 kB / 0.6786 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.4943, allocations: 460.8 kB / 0.679 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.4961, allocations: 496.6 kB / 0.6795 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.4993, allocations: 1.883 MB / 0.6813 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.4998, allocations: 1.07 MB / 0.6824 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007128/0.5006, allocations: 232.9 kB / 0.6826 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5008, allocations: 83.41 kB / 0.6827 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.5008, allocations: 0 / 0.6827 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of Templates: time 0.03428/0.5351, allocations: 24.69 MB / 0.7068 GB, free: 10.47 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)