Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.709/1.709, allocations: 288.2 MB / 303.2 MB, free: 8.184 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.001581/0.001581, allocations: 189.7 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0009644/0.0009643, allocations: 94.86 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005879/0.0005884, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2651, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.06775/0.333, allocations: 75.33 MB / 1.053 GB, free: 124 kB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.5924/0.9254, allocations: 22.11 MB / 1.075 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004687/0.9301, allocations: 83.09 kB / 1.075 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006259/0.9364, allocations: 1.543 MB / 1.076 GB, free: 25.37 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01515/0.9516, allocations: 3.569 MB / 1.08 GB, free: 25.33 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.9668, allocations: 3.937 MB / 1.084 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01261/0.9794, allocations: 4.114 MB / 1.088 GB, free: 25.22 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006017/0.9855, allocations: 1.75 MB / 1.089 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.9923, allocations: 1.961 MB / 1.091 GB, free: 24.99 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004326/0.9967, allocations: 1.389 MB / 1.093 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.9979, allocations: 120 kB / 1.093 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007447/1.005, allocations: 1.724 MB / 1.094 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001751/1.007, allocations: 0.57 MB / 1.095 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/1.009, allocations: 0.5872 MB / 1.095 GB, free: 24.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009349/1.019, allocations: 3.825 MB / 1.099 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.019, allocations: 0 / 1.099 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.268e-06/1.019, allocations: 0 / 1.099 GB, free: 24.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001903/1.019, allocations: 2.625 kB / 1.099 GB, free: 24.68 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.01021/1.029, allocations: 3.049 MB / 1.102 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.029, allocations: 10.62 kB / 1.102 GB, free: 23.03 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/1.03, allocations: 226.2 kB / 1.102 GB, free: 22.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/1.035, allocations: 0.7185 MB / 1.103 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007532/1.043, allocations: 2.254 MB / 1.105 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001101/1.044, allocations: 340.8 kB / 1.106 GB, free: 22.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001142/1.045, allocations: 175.7 kB / 1.106 GB, free: 22.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007964/1.053, allocations: 1.998 MB / 1.108 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.418e-05/1.053, allocations: 2.719 kB / 1.108 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/1.053, allocations: 65.81 kB / 1.108 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/1.053, allocations: 46.41 kB / 1.108 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/1.058, allocations: 1.763 MB / 1.11 GB, free: 21.88 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.01613/1.074, allocations: 9.272 MB / 1.119 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/1.078, allocations: 1.125 MB / 1.12 GB, free: 16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/1.089, allocations: 4.171 MB / 1.124 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003127/1.092, allocations: 0.787 MB / 1.125 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002043/1.094, allocations: 195.4 kB / 1.125 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 9.838e-06/1.094, allocations: 6.719 kB / 1.125 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.008907/1.103, allocations: 1.919 MB / 1.127 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/1.103, allocations: 174.5 kB / 1.127 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006603/1.11, allocations: 2.307 MB / 1.129 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006832/1.111, allocations: 57.55 kB / 1.129 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001726/1.113, allocations: 1.169 MB / 1.13 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007623/1.113, allocations: 334.8 kB / 1.131 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/1.114, allocations: 34.09 kB / 1.131 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.114, allocations: 362.5 kB / 1.131 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003812/1.118, allocations: 0.7346 MB / 1.132 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/1.122, allocations: 1.234 MB / 1.133 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003982/1.126, allocations: 0.925 MB / 1.134 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/1.126, allocations: 3.75 kB / 1.134 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01074/1.137, allocations: 2.306 MB / 1.136 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001614/1.139, allocations: 5.21 MB / 1.141 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.844e-05/1.139, allocations: 13.25 kB / 1.141 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.365e-05/1.139, allocations: 20.28 kB / 1.141 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/1.142, allocations: 372.9 kB / 1.142 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.044e-05/1.142, allocations: 26.27 kB / 1.142 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006497/1.149, allocations: 361.9 kB / 1.142 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000857/1.15, allocations: 93.38 kB / 1.142 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.15, allocations: 2.75 kB / 1.142 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009728/1.159, allocations: 2.107 MB / 1.144 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-05/1.159, allocations: 13.88 kB / 1.144 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.719e-05/1.16, allocations: 20.72 kB / 1.144 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/1.163, allocations: 368.2 kB / 1.144 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.345e-05/1.163, allocations: 25.94 kB / 1.144 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/1.168, allocations: 355 kB / 1.145 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/1.168, allocations: 87.95 kB / 1.145 GB, free: 2.777 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.002433/1.171, allocations: 0.6393 MB / 1.145 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009049/1.172, allocations: 241.2 kB / 1.146 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006523/1.178, allocations: 1.811 MB / 1.147 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.822e-05/1.178, allocations: 9.781 kB / 1.148 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.178, allocations: 4 kB / 1.148 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004615/1.183, allocations: 1.337 MB / 1.149 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/1.196, allocations: 3.717 MB / 1.152 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.196, allocations: 10.44 kB / 1.152 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/1.197, allocations: 229.4 kB / 1.153 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/1.197, allocations: 6.656 kB / 1.153 GB, free: 15.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.198, allocations: 35.69 kB / 1.153 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.315e-05/1.198, allocations: 7.812 kB / 1.153 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.198, allocations: 2.344 kB / 1.153 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00876/1.206, allocations: 2.603 MB / 1.155 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/1.209, allocations: 0.5004 MB / 1.156 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007651/1.21, allocations: 27.33 kB / 1.156 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.213, allocations: 179.4 kB / 1.156 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/1.213, allocations: 86.88 kB / 1.156 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.213, allocations: 61.62 kB / 1.156 GB, free: 12.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004069/1.217, allocations: 1.578 MB / 1.158 GB, free: 12.06 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.217, allocations: 0 / 1.158 GB, free: 12.06 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007667/1.225, allocations: 1.37 MB / 1.159 GB, free: 11.7 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.01272/1.238, allocations: 4.235 MB / 1.163 GB, free: 7.445 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.25, allocations: 3.303 MB / 1.166 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.25, allocations: 3.922 kB / 1.166 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002698/1.252, allocations: 0.7104 MB / 1.167 GB, free: 3.434 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009392/1.262, allocations: 1.106 MB / 1.168 GB, free: 2.336 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.282, allocations: 14.41 MB / 1.182 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.284, allocations: 1.705 MB / 1.184 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003325/1.287, allocations: 0.6091 MB / 1.184 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.289, allocations: 1.046 MB / 1.185 GB, free: 276 kB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/1.289, allocations: 2.531 kB / 1.185 GB, free: 276 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/1.415, allocations: 71.15 MB / 1.255 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.415, allocations: 255.4 kB / 1.255 GB, free: 9.641 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.414/5.829, allocations: 0 / 1.255 GB, free: 9.641 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_fmu --startTime=0 --stopTime=2500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)