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.001452/0.001452, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 206.8 kB / 16.79 MB, free: 6.84 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7661/0.7661, allocations: 122.9 MB / 413.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 65.55 kB / 0.4904 GB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2095, allocations: 77.95 MB / 0.5666 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4036/0.6132, allocations: 60.8 MB / 0.6259 GB, free: 2.859 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.6336, allocations: 12.07 MB / 0.6377 GB, free: 9.953 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/0.6368, allocations: 51.41 kB / 0.6378 GB, free: 9.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.6396, allocations: 0.5558 MB / 0.6383 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006688/0.6463, allocations: 1.798 MB / 0.6401 GB, free: 8.02 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003481/0.6498, allocations: 1.072 MB / 0.6411 GB, free: 7.215 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00668/0.6565, allocations: 3.927 MB / 0.6449 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.6586, allocations: 0.949 MB / 0.6459 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.6621, allocations: 1.147 MB / 0.647 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.6643, allocations: 0.9099 MB / 0.6479 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.6646, allocations: 57.25 kB / 0.6479 GB, free: 3.191 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.6681, allocations: 1.34 MB / 0.6492 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003718/0.6685, allocations: 237.7 kB / 0.6495 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.6698, allocations: 0.6409 MB / 0.6501 GB, free: 1.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.6739, allocations: 2.255 MB / 0.6523 GB, free: 360 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6739, allocations: 3.938 kB / 0.6523 GB, free: 356 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.6739, allocations: 1.344 kB / 0.6523 GB, free: 356 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.76e-05/0.674, allocations: 0 / 0.6523 GB, free: 356 kB / 478.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.00411/0.6781, allocations: 1.728 MB / 0.654 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.6782, allocations: 8.031 kB / 0.654 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002673/0.6808, allocations: 466.8 kB / 0.6544 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.6833, allocations: 1.133 MB / 0.6556 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.6837, allocations: 113.9 kB / 0.6557 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.6839, allocations: 84 kB / 0.6557 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.6862, allocations: 1.01 MB / 0.6567 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.6862, allocations: 3.938 kB / 0.6567 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.6863, allocations: 32 kB / 0.6568 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.6864, allocations: 19.94 kB / 0.6568 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.6891, allocations: 0.9485 MB / 0.6577 GB, free: 10.7 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.00694/0.696, allocations: 4.689 MB / 0.6623 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.7002, allocations: 0.9964 MB / 0.6633 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.7013, allocations: 413.9 kB / 0.6637 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009998/0.7023, allocations: 1.017 MB / 0.6646 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.7024, allocations: 38.94 kB / 0.6647 GB, free: 2.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 1.984e-06/0.7024, allocations: 0 / 0.6647 GB, free: 2.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=53): time 0.0102/0.7126, allocations: 2.228 MB / 0.6669 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.7126, allocations: 63.72 kB / 0.6669 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.714, allocations: 0.9314 MB / 0.6678 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.7142, allocations: 41.7 kB / 0.6679 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.7146, allocations: 0.5002 MB / 0.6684 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.7149, allocations: 189.2 kB / 0.6685 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.7151, allocations: 138 kB / 0.6687 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.7152, allocations: 326 kB / 0.669 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.7163, allocations: 358.8 kB / 0.6693 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.7176, allocations: 0.5156 MB / 0.6698 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.7196, allocations: 0.7657 MB / 0.6706 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7196, allocations: 0 / 0.6706 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003075/0.7227, allocations: 1.076 MB / 0.6716 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7228, allocations: 8 kB / 0.6716 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.7228, allocations: 7.984 kB / 0.6716 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.7241, allocations: 313.9 kB / 0.6719 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.7248, allocations: 135.8 kB / 0.6721 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.7262, allocations: 0.9043 MB / 0.673 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.7275, allocations: 163.3 kB / 0.6731 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.7276, allocations: 27.98 kB / 0.6731 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001385/0.729, allocations: 0.5634 MB / 0.6737 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001182/0.7302, allocations: 0.5116 MB / 0.6742 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00202/0.7322, allocations: 0.7541 MB / 0.6749 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.7322, allocations: 4 kB / 0.6749 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00301/0.7352, allocations: 1.066 MB / 0.676 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.7353, allocations: 4 kB / 0.676 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.7353, allocations: 4 kB / 0.676 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.7364, allocations: 306.6 kB / 0.6763 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.737, allocations: 131.8 kB / 0.6764 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.7385, allocations: 0.9035 MB / 0.6773 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.7397, allocations: 147.5 kB / 0.6774 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.7398, allocations: 31.98 kB / 0.6774 GB, free: 5.543 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.0002275/0.74, allocations: 221.2 kB / 0.6777 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.7402, allocations: 106.7 kB / 0.6778 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/0.7448, allocations: 1.319 MB / 0.679 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.7448, allocations: 8 kB / 0.6791 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.7448, allocations: 0 / 0.6791 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7448, allocations: 3.984 kB / 0.6791 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/0.751, allocations: 2.432 MB / 0.6814 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7511, allocations: 0 / 0.6814 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.7517, allocations: 103.8 kB / 0.6815 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.7528, allocations: 307.6 kB / 0.6818 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.517e-05/0.7528, allocations: 19.98 kB / 0.6818 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.7543, allocations: 0.9407 MB / 0.6828 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7543, allocations: 4.031 kB / 0.6828 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.7587, allocations: 1.343 MB / 0.6841 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.7593, allocations: 279.4 kB / 0.6843 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.7594, allocations: 12 kB / 0.6844 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009594/0.7604, allocations: 111.8 kB / 0.6845 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.7605, allocations: 32.39 kB / 0.6845 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.7605, allocations: 23.98 kB / 0.6845 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009043/0.7614, allocations: 0.6674 MB / 0.6852 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7615, allocations: 3.938 kB / 0.6852 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00157/0.763, allocations: 0.5651 MB / 0.6857 GB, free: 12.87 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.0007681/0.7638, allocations: 379.8 kB / 0.6861 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003731/0.7676, allocations: 1.303 MB / 0.6874 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7676, allocations: 3.938 kB / 0.6874 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.7688, allocations: 460.9 kB / 0.6878 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.7712, allocations: 0.4997 MB / 0.6883 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.7752, allocations: 2.315 MB / 0.6905 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.7758, allocations: 1.063 MB / 0.6916 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009969/0.7768, allocations: 243.2 kB / 0.6918 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.777, allocations: 79.41 kB / 0.6919 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of SimCode: time 4.61e-07/0.777, allocations: 0 / 0.6919 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.03873/0.8157, allocations: 23.78 MB / 0.7151 GB, free: 14.98 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)