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 2.663/2.663, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001309/0.001309, allocations: 188.9 kB / 371 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.092/2.092, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008784/0.0008783, allocations: 93.47 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.0006383, allocations: 12.08 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2108, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.1203/0.3312, allocations: 82.99 MB / 1.059 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.7441/1.075, allocations: 23.87 MB / 1.083 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004927/1.08, allocations: 90.44 kB / 1.083 GB, free: 25.87 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00664/1.087, allocations: 1.272 MB / 1.084 GB, free: 25.84 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01382/1.101, allocations: 2.855 MB / 1.087 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01595/1.117, allocations: 3.364 MB / 1.09 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01578/1.133, allocations: 7.601 MB / 1.098 GB, free: 24.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/1.138, allocations: 1.732 MB / 1.099 GB, free: 24.55 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00808/1.146, allocations: 2.213 MB / 1.101 GB, free: 24.04 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005851/1.152, allocations: 1.875 MB / 1.103 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/1.154, allocations: 124.3 kB / 1.103 GB, free: 23.63 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009728/1.164, allocations: 1.834 MB / 1.105 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/1.166, allocations: 0.6225 MB / 1.106 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.168, allocations: 0.5947 MB / 1.106 GB, free: 23.23 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009245/1.177, allocations: 3.957 MB / 1.11 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.148e-06/1.178, allocations: 3.938 kB / 1.11 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.807e-06/1.178, allocations: 3.375 kB / 1.11 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000178/1.178, allocations: 0 / 1.11 GB, free: 22.93 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.01034/1.188, allocations: 3.087 MB / 1.113 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.188, allocations: 9.812 kB / 1.113 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/1.194, allocations: 0.722 MB / 1.114 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008506/1.203, allocations: 2.266 MB / 1.116 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/1.204, allocations: 340.8 kB / 1.116 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008934/1.205, allocations: 176.9 kB / 1.117 GB, free: 20.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008118/1.213, allocations: 2.067 MB / 1.119 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-05/1.213, allocations: 5 kB / 1.119 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000372/1.214, allocations: 64.72 kB / 1.119 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.489e-05/1.214, allocations: 41.7 kB / 1.119 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008578/1.223, allocations: 1.879 MB / 1.121 GB, free: 19.34 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.02399/1.247, allocations: 9.509 MB / 1.13 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004604/1.251, allocations: 1.212 MB / 1.131 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/1.254, allocations: 0.7369 MB / 1.132 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/1.265, allocations: 3.88 MB / 1.136 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003417/1.268, allocations: 0.8558 MB / 1.136 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001912/1.27, allocations: 181.2 kB / 1.137 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 8.957e-06/1.27, allocations: 0 / 1.137 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.009666/1.28, allocations: 2.102 MB / 1.139 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/1.28, allocations: 174.9 kB / 1.139 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006443/1.286, allocations: 2.345 MB / 1.141 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006123/1.287, allocations: 60.48 kB / 1.141 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001813/1.289, allocations: 1.166 MB / 1.142 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007276/1.29, allocations: 337.8 kB / 1.143 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/1.29, allocations: 31.5 kB / 1.143 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.29, allocations: 359.1 kB / 1.143 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.294, allocations: 0.8046 MB / 1.144 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004029/1.298, allocations: 1.293 MB / 1.145 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003746/1.302, allocations: 0.9862 MB / 1.146 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/1.302, allocations: 1.75 kB / 1.146 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01019/1.312, allocations: 2.426 MB / 1.148 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003785/1.312, allocations: 0.5737 MB / 1.149 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/1.313, allocations: 14.25 kB / 1.149 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.945e-05/1.313, allocations: 22.06 kB / 1.149 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/1.316, allocations: 370.3 kB / 1.149 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.195e-05/1.316, allocations: 22.09 kB / 1.149 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005293/1.321, allocations: 381.2 kB / 1.15 GB, free: 500 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006279/1.322, allocations: 92.83 kB / 1.15 GB, free: 472 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.322, allocations: 3.375 kB / 1.15 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009124/1.331, allocations: 2.226 MB / 1.152 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/1.331, allocations: 13.09 kB / 1.152 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/1.331, allocations: 25.62 kB / 1.152 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/1.334, allocations: 369.1 kB / 1.152 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.542e-05/1.334, allocations: 26.45 kB / 1.152 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/1.34, allocations: 351.1 kB / 1.153 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006292/1.34, allocations: 88.88 kB / 1.153 GB, free: 15.05 MB / 0.698 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.002431/1.343, allocations: 0.6277 MB / 1.153 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009707/1.344, allocations: 251.8 kB / 1.154 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00766/1.351, allocations: 1.899 MB / 1.155 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/1.351, allocations: 10.16 kB / 1.155 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.351, allocations: 0 / 1.155 GB, free: 13.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005828/1.357, allocations: 1.454 MB / 1.157 GB, free: 12.65 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.01456/1.372, allocations: 3.978 MB / 1.161 GB, free: 8.793 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.372, allocations: 4 kB / 1.161 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002458/1.374, allocations: 239.9 kB / 1.161 GB, free: 8.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/1.375, allocations: 8 kB / 1.161 GB, free: 8.547 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/1.375, allocations: 31.97 kB / 1.161 GB, free: 8.516 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/1.375, allocations: 7.953 kB / 1.161 GB, free: 8.508 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/1.375, allocations: 4 kB / 1.161 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.386, allocations: 2.654 MB / 1.164 GB, free: 5.809 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/1.388, allocations: 0.5172 MB / 1.164 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009716/1.389, allocations: 27.98 kB / 1.164 GB, free: 5.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/1.393, allocations: 184.2 kB / 1.164 GB, free: 5.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/1.393, allocations: 88.77 kB / 1.164 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/1.394, allocations: 55.95 kB / 1.165 GB, free: 4.918 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00519/1.399, allocations: 1.603 MB / 1.166 GB, free: 3.309 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.31e-07/1.399, allocations: 0 / 1.166 GB, free: 3.309 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007903/1.407, allocations: 1.365 MB / 1.167 GB, free: 1.941 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.002657/1.41, allocations: 0.6525 MB / 1.168 GB, free: 1.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.423, allocations: 3.484 MB / 1.171 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.423, allocations: 1.5 kB / 1.171 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.426, allocations: 0.7712 MB / 1.172 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/1.437, allocations: 1.122 MB / 1.173 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.452, allocations: 5.04 MB / 1.178 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.454, allocations: 1.651 MB / 1.18 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004888/1.459, allocations: 0.6028 MB / 1.18 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.46, allocations: 195.3 kB / 1.181 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.462e-06/1.46, allocations: 0 / 1.181 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.1398/1.6, allocations: 50.19 MB / 1.23 GB, free: 2.715 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)