Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 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.001662/0.001662, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.419/2.419, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 63.8 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05704/0.2912, allocations: 62.63 MB / 1.125 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.3072, allocations: 13.67 MB / 1.139 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.3083, allocations: 59.69 kB / 1.139 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.3101, allocations: 0.9355 MB / 1.14 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.3141, allocations: 2.419 MB / 1.142 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.317, allocations: 1.608 MB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003821/0.3208, allocations: 4.289 MB / 1.148 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.3223, allocations: 1.414 MB / 1.149 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.3247, allocations: 1.638 MB / 1.151 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.326, allocations: 1.303 MB / 1.152 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/0.3263, allocations: 183.9 kB / 1.152 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.3285, allocations: 1.419 MB / 1.154 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.329, allocations: 0.5062 MB / 1.154 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008585/0.3298, allocations: 1.011 MB / 1.155 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.3329, allocations: 3.132 MB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3329, allocations: 0 / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3329, allocations: 0 / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.3329, allocations: 0 / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003581/0.3365, allocations: 2.337 MB / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3366, allocations: 12.03 kB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/0.3368, allocations: 164.8 kB / 1.16 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.3394, allocations: 0.5333 MB / 1.161 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001885/0.3413, allocations: 1.424 MB / 1.162 GB, free: 9.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3414, allocations: 157.5 kB / 1.163 GB, free: 8.902 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3416, allocations: 111.9 kB / 1.163 GB, free: 8.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.3446, allocations: 1.558 MB / 1.164 GB, free: 7.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3446, allocations: 7.938 kB / 1.164 GB, free: 7.137 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.3447, allocations: 44 kB / 1.164 GB, free: 7.094 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.3448, allocations: 35.98 kB / 1.164 GB, free: 7.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/0.3486, allocations: 1.561 MB / 1.166 GB, free: 5.492 MB / 0.92 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.007828/0.3564, allocations: 6.974 MB / 1.173 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.3589, allocations: 1.27 MB / 1.174 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.3605, allocations: 0.6671 MB / 1.174 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008044/0.3613, allocations: 1.145 MB / 1.176 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3614, allocations: 47.2 kB / 1.176 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 1.723e-06/0.3614, allocations: 4 kB / 1.176 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.005061/0.3665, allocations: 1.89 MB / 1.178 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.3665, allocations: 111.5 kB / 1.178 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.3681, allocations: 1.408 MB / 1.179 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.3682, allocations: 45.64 kB / 1.179 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005559/0.3687, allocations: 0.7202 MB / 1.18 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/0.369, allocations: 260.2 kB / 1.18 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.3693, allocations: 190.4 kB / 1.18 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3694, allocations: 341.9 kB / 1.18 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.371, allocations: 0.5941 MB / 1.181 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/0.3728, allocations: 0.8288 MB / 1.182 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003222/0.3761, allocations: 1.316 MB / 1.183 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3761, allocations: 0 / 1.183 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00373/0.3798, allocations: 1.55 MB / 1.185 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.3798, allocations: 8.062 kB / 1.185 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3799, allocations: 4 kB / 1.185 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.3799, allocations: 19.92 kB / 1.185 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.3812, allocations: 303.5 kB / 1.185 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.3812, allocations: 19.88 kB / 1.185 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.3824, allocations: 190.9 kB / 1.185 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.3825, allocations: 39.98 kB / 1.185 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001948/0.3844, allocations: 0.9001 MB / 1.186 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00176/0.3862, allocations: 0.8322 MB / 1.187 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003216/0.3894, allocations: 1.308 MB / 1.188 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3894, allocations: 0 / 1.188 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003704/0.3931, allocations: 1.553 MB / 1.19 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.3932, allocations: 8 kB / 1.19 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3932, allocations: 4 kB / 1.19 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.3932, allocations: 12 kB / 1.19 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.3945, allocations: 316 kB / 1.19 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3945, allocations: 8 kB / 1.19 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.3957, allocations: 179.1 kB / 1.19 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.3958, allocations: 43.97 kB / 1.19 GB, free: 11.21 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.396, allocations: 236.1 kB / 1.19 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.3963, allocations: 154.1 kB / 1.191 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.4002, allocations: 1.692 MB / 1.192 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.4002, allocations: 8 kB / 1.192 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4002, allocations: 11.94 kB / 1.192 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003237/0.4034, allocations: 1.304 MB / 1.194 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005945/0.4094, allocations: 3.396 MB / 1.197 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4094, allocations: 4 kB / 1.197 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.4105, allocations: 232.2 kB / 1.197 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4105, allocations: 4 kB / 1.197 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.4106, allocations: 31.98 kB / 1.197 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.4106, allocations: 15.88 kB / 1.197 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4106, allocations: 4 kB / 1.197 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005298/0.4159, allocations: 2.399 MB / 1.2 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/0.4165, allocations: 398.7 kB / 1.2 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.4167, allocations: 23.94 kB / 1.2 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.4179, allocations: 139.8 kB / 1.2 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.4181, allocations: 88.34 kB / 1.2 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.4181, allocations: 39.97 kB / 1.2 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001262/0.4194, allocations: 1.076 MB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4194, allocations: 0 / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001634/0.4211, allocations: 0.8149 MB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1092/0.5303, allocations: 3.316 MB / 1.205 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006448/0.5367, allocations: 2.196 MB / 1.207 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5367, allocations: 0 / 1.207 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/0.5386, allocations: 0.7459 MB / 1.208 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.5417, allocations: 0.8346 MB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/0.5629, allocations: 14.38 MB / 1.223 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.5637, allocations: 1.281 MB / 1.224 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001458/0.5652, allocations: 420.2 kB / 1.225 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/0.566, allocations: 0.6164 MB / 1.225 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.566, allocations: 0 / 1.225 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.296/4.862, allocations: 47.22 MB / 1.271 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/14.06, allocations: 12.25 kB / 1.271 GB, free: 168.9 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)