Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.08/3.08, allocations: 287.3 MB / 302.3 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002396/0.002396, allocations: 177.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001308, allocations: 89.09 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000634/0.0006341, allocations: 10.53 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2545, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.1192/0.3738, allocations: 75.34 MB / 1.052 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.7097/1.084, allocations: 22.11 MB / 1.073 GB, free: 24.87 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/1.088, allocations: 88.09 kB / 1.073 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007835/1.096, allocations: 1.538 MB / 1.075 GB, free: 24.86 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0172/1.113, allocations: 3.56 MB / 1.078 GB, free: 24.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01849/1.132, allocations: 3.953 MB / 1.082 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01263/1.144, allocations: 4.116 MB / 1.086 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005102/1.15, allocations: 1.752 MB / 1.088 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007447/1.157, allocations: 1.962 MB / 1.09 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004582/1.162, allocations: 1.385 MB / 1.091 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00161/1.163, allocations: 116 kB / 1.091 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008915/1.172, allocations: 1.722 MB / 1.093 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/1.174, allocations: 0.57 MB / 1.094 GB, free: 24.49 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002089/1.176, allocations: 0.5903 MB / 1.094 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01089/1.187, allocations: 3.825 MB / 1.098 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.187, allocations: 0 / 1.098 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.846e-06/1.187, allocations: 0 / 1.098 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001725/1.188, allocations: 1 kB / 1.098 GB, free: 24.18 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.01192/1.199, allocations: 3.054 MB / 1.101 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.2, allocations: 9.641 kB / 1.101 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006681/1.206, allocations: 0.7184 MB / 1.102 GB, free: 22.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008804/1.215, allocations: 2.25 MB / 1.104 GB, free: 21.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001555/1.217, allocations: 336.4 kB / 1.104 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/1.218, allocations: 181.4 kB / 1.104 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00788/1.226, allocations: 1.994 MB / 1.106 GB, free: 21.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.562e-05/1.226, allocations: 6.031 kB / 1.106 GB, free: 21.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/1.226, allocations: 73.03 kB / 1.106 GB, free: 21.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.656e-05/1.226, allocations: 38.28 kB / 1.106 GB, free: 21.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00858/1.235, allocations: 1.767 MB / 1.108 GB, free: 21.43 MB / 0.6823 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.02531/1.26, allocations: 9.265 MB / 1.117 GB, free: 16.63 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/1.265, allocations: 1.124 MB / 1.118 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/1.277, allocations: 4.18 MB / 1.122 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003504/1.28, allocations: 0.7864 MB / 1.123 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002154/1.282, allocations: 192.8 kB / 1.123 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 1.148e-05/1.282, allocations: 1 kB / 1.123 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.01008/1.292, allocations: 1.92 MB / 1.125 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.914e-05/1.293, allocations: 173.9 kB / 1.125 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006917/1.3, allocations: 2.309 MB / 1.128 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0007416/1.3, allocations: 58.2 kB / 1.128 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.302, allocations: 1.171 MB / 1.129 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000788/1.303, allocations: 335.6 kB / 1.129 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/1.304, allocations: 41.19 kB / 1.129 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.304, allocations: 359.6 kB / 1.129 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/1.308, allocations: 0.7374 MB / 1.13 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004711/1.312, allocations: 1.228 MB / 1.131 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/1.317, allocations: 0.9238 MB / 1.132 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.422e-05/1.317, allocations: 3.469 kB / 1.132 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01104/1.328, allocations: 2.311 MB / 1.135 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/1.329, allocations: 5.211 MB / 1.14 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.246e-05/1.329, allocations: 12.84 kB / 1.14 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.934e-05/1.329, allocations: 20.56 kB / 1.14 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003367/1.333, allocations: 365.2 kB / 1.14 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.529e-05/1.333, allocations: 24.91 kB / 1.14 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/1.339, allocations: 363.1 kB / 1.14 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009015/1.34, allocations: 90.17 kB / 1.14 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.34, allocations: 4.094 kB / 1.14 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009517/1.349, allocations: 2.115 MB / 1.143 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.261e-05/1.349, allocations: 11.75 kB / 1.143 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.705e-05/1.35, allocations: 26.22 kB / 1.143 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003189/1.353, allocations: 357.4 kB / 1.143 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.276e-05/1.353, allocations: 34.8 kB / 1.143 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/1.358, allocations: 353 kB / 1.143 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007894/1.359, allocations: 84.83 kB / 1.143 GB, free: 3.133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,$PRE.uMod.booPul.y,uMod.booPul.y,$PRE.pulse.booPul.y,pulse.booPul.y,$PRE.TSouEnt.booPul.y,TSouEnt.booPul.y,$PRE.TLoaSet.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002487/1.362, allocations: 0.6316 MB / 1.144 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009269/1.363, allocations: 241.5 kB / 1.144 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007379/1.37, allocations: 1.809 MB / 1.146 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/1.37, allocations: 9.719 kB / 1.146 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.37, allocations: 0 / 1.146 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005569/1.376, allocations: 1.33 MB / 1.147 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.388, allocations: 3.734 MB / 1.151 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.388, allocations: 3.188 kB / 1.151 GB, free: 0 / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002386/1.391, allocations: 237.1 kB / 1.151 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/1.391, allocations: 6.125 kB / 1.151 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/1.391, allocations: 36.06 kB / 1.151 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/1.391, allocations: 5.812 kB / 1.151 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.391, allocations: 4 kB / 1.151 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.401, allocations: 2.608 MB / 1.154 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/1.404, allocations: 0.5011 MB / 1.154 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.405, allocations: 18.19 kB / 1.154 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004069/1.409, allocations: 189.6 kB / 1.154 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/1.409, allocations: 85.61 kB / 1.155 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002873/1.41, allocations: 52.45 kB / 1.155 GB, free: 13.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004592/1.414, allocations: 1.582 MB / 1.156 GB, free: 12.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.414, allocations: 0 / 1.156 GB, free: 12.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00784/1.422, allocations: 1.369 MB / 1.157 GB, free: 12.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002606/1.425, allocations: 0.693 MB / 1.158 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.438, allocations: 3.307 MB / 1.161 GB, free: 8.844 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.438, allocations: 0 / 1.161 GB, free: 8.844 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003168/1.441, allocations: 0.71 MB / 1.162 GB, free: 8.164 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.452, allocations: 1.106 MB / 1.163 GB, free: 7.074 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.467, allocations: 5.015 MB / 1.168 GB, free: 2.031 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/1.469, allocations: 1.705 MB / 1.17 GB, free: 300 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.005331/1.474, allocations: 0.6064 MB / 1.17 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/1.476, allocations: 193.9 kB / 1.17 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.733e-06/1.476, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.1441/1.62, allocations: 50 MB / 1.219 GB, free: 14.25 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)