Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_latest_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.001286/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 66.67 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2432, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05431/0.2976, allocations: 62.25 MB / 1.113 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.3131, allocations: 13.72 MB / 1.126 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001587/0.3148, allocations: 55.69 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002079/0.3169, allocations: 0.8004 MB / 1.127 GB, free: 11.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/0.3216, allocations: 2.215 MB / 1.129 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/0.3248, allocations: 1.479 MB / 1.131 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00503/0.3298, allocations: 5.468 MB / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.3315, allocations: 1.214 MB / 1.137 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.3337, allocations: 1.404 MB / 1.139 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.3354, allocations: 1.291 MB / 1.14 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.3357, allocations: 92 kB / 1.14 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.3381, allocations: 1.31 MB / 1.141 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.3386, allocations: 446.3 kB / 1.142 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.3398, allocations: 0.921 MB / 1.143 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00346/0.3433, allocations: 3.081 MB / 1.146 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3433, allocations: 0 / 1.146 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3433, allocations: 4 kB / 1.146 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.702e-05/0.3434, allocations: 0 / 1.146 GB, free: 8.133 MB / 0.9044 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.004039/0.3475, allocations: 2.334 MB / 1.148 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3475, allocations: 8.031 kB / 1.148 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.3477, allocations: 168.8 kB / 1.148 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.349, allocations: 322.4 kB / 1.148 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.3509, allocations: 1.447 MB / 1.15 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3511, allocations: 165.5 kB / 1.15 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.3512, allocations: 108 kB / 1.15 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.3537, allocations: 1.434 MB / 1.152 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.3538, allocations: 4 kB / 1.152 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.3539, allocations: 51.98 kB / 1.152 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.3539, allocations: 35.92 kB / 1.152 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.3568, allocations: 1.339 MB / 1.153 GB, free: 0.5039 MB / 0.9044 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.00688/0.3637, allocations: 6.631 MB / 1.159 GB, free: 9.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.3657, allocations: 1.166 MB / 1.161 GB, free: 8.176 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.3669, allocations: 0.5571 MB / 1.161 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007463/0.3676, allocations: 1.149 MB / 1.162 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.3677, allocations: 47.78 kB / 1.162 GB, free: 6.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=77): time 1.924e-06/0.3677, allocations: 0 / 1.162 GB, free: 6.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=77): time 0.003726/0.3714, allocations: 1.585 MB / 1.164 GB, free: 4.559 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3715, allocations: 111.5 kB / 1.164 GB, free: 4.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.373, allocations: 1.404 MB / 1.165 GB, free: 3.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.3731, allocations: 41.7 kB / 1.165 GB, free: 2.965 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.3736, allocations: 0.7086 MB / 1.166 GB, free: 2.246 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.3738, allocations: 268.1 kB / 1.166 GB, free: 1.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.3741, allocations: 178.5 kB / 1.166 GB, free: 1.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3742, allocations: 341.9 kB / 1.167 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.3754, allocations: 0.4966 MB / 1.167 GB, free: 0.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.3767, allocations: 0.719 MB / 1.168 GB, free: 152 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.379, allocations: 1.137 MB / 1.169 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3791, allocations: 4 kB / 1.169 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002825/0.3819, allocations: 1.347 MB / 1.17 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3819, allocations: 8 kB / 1.17 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3819, allocations: 4 kB / 1.17 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3819, allocations: 12 kB / 1.17 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.3831, allocations: 272.2 kB / 1.171 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.3831, allocations: 11.94 kB / 1.171 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.3842, allocations: 194.9 kB / 1.171 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.3843, allocations: 39.98 kB / 1.171 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001481/0.3858, allocations: 0.8024 MB / 1.172 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.3871, allocations: 0.7113 MB / 1.172 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002302/0.3894, allocations: 1.125 MB / 1.173 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.415e-06/0.3894, allocations: 3.938 kB / 1.173 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.002756/0.3921, allocations: 1.355 MB / 1.175 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3922, allocations: 9.719 kB / 1.175 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.3922, allocations: 4 kB / 1.175 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.3922, allocations: 8 kB / 1.175 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3933, allocations: 271.7 kB / 1.175 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3933, allocations: 11.94 kB / 1.175 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3943, allocations: 183.1 kB / 1.175 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.3944, allocations: 39.98 kB / 1.175 GB, free: 8.371 MB / 0.9356 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.0002359/0.3947, allocations: 228.1 kB / 1.176 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.3949, allocations: 146.2 kB / 1.176 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.3979, allocations: 1.486 MB / 1.177 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3979, allocations: 8 kB / 1.177 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3979, allocations: 7.938 kB / 1.177 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/0.4003, allocations: 1.101 MB / 1.178 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005139/0.4054, allocations: 3.087 MB / 1.181 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4054, allocations: 4 kB / 1.181 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.4063, allocations: 191.7 kB / 1.181 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.4064, allocations: 4 kB / 1.181 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.4064, allocations: 24 kB / 1.181 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.4064, allocations: 19.92 kB / 1.181 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.4065, allocations: 12 kB / 1.181 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.4104, allocations: 2.06 MB / 1.183 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.4109, allocations: 382.7 kB / 1.184 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.4112, allocations: 27.92 kB / 1.184 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.4123, allocations: 143.7 kB / 1.184 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.4125, allocations: 84.33 kB / 1.184 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.4126, allocations: 39.97 kB / 1.184 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001289/0.4139, allocations: 1.076 MB / 1.185 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4139, allocations: 0 / 1.185 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001715/0.4157, allocations: 0.7916 MB / 1.186 GB, free: 13.2 MB / 0.9512 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.004982/0.4206, allocations: 2.958 MB / 1.189 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004044/0.4247, allocations: 1.81 MB / 1.191 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4247, allocations: 0 / 1.191 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.4262, allocations: 0.6405 MB / 1.191 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003234/0.4294, allocations: 0.7856 MB / 1.192 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/0.4529, allocations: 14.11 MB / 1.206 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.4538, allocations: 1.281 MB / 1.207 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001726/0.4555, allocations: 408.2 kB / 1.207 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008417/0.4564, allocations: 0.6164 MB / 1.208 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of SimCode: time 6.61e-07/0.4564, allocations: 0 / 1.208 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.019/1.476, allocations: 44.59 MB / 1.252 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/1.476, allocations: 258.5 kB / 1.252 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/4.275, allocations: 2.625 kB / 1.252 GB, free: 183.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)