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.001422/0.001422, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001387/0.001387, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.465/2.465, allocations: 469.8 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 69.59 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2332, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05801/0.2912, allocations: 62.11 MB / 1.124 GB, free: 200 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3078, allocations: 13.57 MB / 1.137 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.3094, allocations: 55.69 kB / 1.138 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.3115, allocations: 0.8277 MB / 1.138 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.3165, allocations: 2.261 MB / 1.141 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.3197, allocations: 1.472 MB / 1.142 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004698/0.3244, allocations: 4.314 MB / 1.146 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.3263, allocations: 1.418 MB / 1.148 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.3292, allocations: 1.666 MB / 1.149 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3305, allocations: 1.334 MB / 1.151 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.3307, allocations: 176 kB / 1.151 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.3329, allocations: 1.446 MB / 1.152 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000434/0.3334, allocations: 0.514 MB / 1.153 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000889/0.3343, allocations: 1.011 MB / 1.154 GB, free: 2.035 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003078/0.3373, allocations: 3.151 MB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3373, allocations: 0 / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3374, allocations: 0 / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.3374, allocations: 0 / 1.157 GB, free: 14.88 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.003714/0.3411, allocations: 2.333 MB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3411, allocations: 15.95 kB / 1.159 GB, free: 12.47 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.3413, allocations: 164.8 kB / 1.159 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.344, allocations: 0.5294 MB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.346, allocations: 1.47 MB / 1.161 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.3462, allocations: 153.5 kB / 1.161 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3464, allocations: 104 kB / 1.161 GB, free: 9.977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.3495, allocations: 1.562 MB / 1.163 GB, free: 8.324 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.3495, allocations: 7.938 kB / 1.163 GB, free: 8.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.3496, allocations: 51.98 kB / 1.163 GB, free: 8.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/0.3497, allocations: 35.98 kB / 1.163 GB, free: 8.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.3535, allocations: 1.557 MB / 1.164 GB, free: 6.668 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.008068/0.3616, allocations: 6.92 MB / 1.171 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.3641, allocations: 1.272 MB / 1.172 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.3657, allocations: 0.6664 MB / 1.173 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008396/0.3666, allocations: 1.148 MB / 1.174 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.3666, allocations: 43.16 kB / 1.174 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 1.953e-06/0.3666, allocations: 0 / 1.174 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.005139/0.3718, allocations: 1.897 MB / 1.176 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.3719, allocations: 111.5 kB / 1.176 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/0.3735, allocations: 1.393 MB / 1.178 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.3736, allocations: 41.7 kB / 1.178 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005735/0.3742, allocations: 0.7163 MB / 1.178 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.3744, allocations: 260.2 kB / 1.179 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.3748, allocations: 190.5 kB / 1.179 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3749, allocations: 337.9 kB / 1.179 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.3766, allocations: 0.598 MB / 1.18 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00189/0.3785, allocations: 0.8284 MB / 1.18 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/0.3817, allocations: 1.32 MB / 1.182 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3817, allocations: 0 / 1.182 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003846/0.3856, allocations: 1.55 MB / 1.183 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3856, allocations: 13.5 kB / 1.183 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3856, allocations: 4 kB / 1.183 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3857, allocations: 12 kB / 1.183 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.3871, allocations: 307.5 kB / 1.184 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.3871, allocations: 15.88 kB / 1.184 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.3885, allocations: 238.8 kB / 1.184 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.3886, allocations: 39.98 kB / 1.184 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00208/0.3907, allocations: 0.9 MB / 1.185 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001818/0.3925, allocations: 0.8244 MB / 1.186 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00324/0.3957, allocations: 1.304 MB / 1.187 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-06/0.3958, allocations: 4 kB / 1.187 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003759/0.3995, allocations: 1.553 MB / 1.188 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3995, allocations: 8 kB / 1.188 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3996, allocations: 4 kB / 1.188 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.3996, allocations: 8.562 kB / 1.188 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.401, allocations: 315.5 kB / 1.189 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.401, allocations: 11.94 kB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4023, allocations: 215.1 kB / 1.189 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/0.4024, allocations: 39.98 kB / 1.189 GB, free: 12.39 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.0002807/0.4027, allocations: 240 kB / 1.189 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.403, allocations: 150.1 kB / 1.189 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/0.407, allocations: 1.692 MB / 1.191 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.407, allocations: 8 kB / 1.191 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4071, allocations: 3.938 kB / 1.191 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003293/0.4104, allocations: 1.304 MB / 1.192 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.4166, allocations: 3.4 MB / 1.196 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4166, allocations: 8.094 kB / 1.196 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.4178, allocations: 235.7 kB / 1.196 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.4178, allocations: 8 kB / 1.196 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.4179, allocations: 19.98 kB / 1.196 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/0.4179, allocations: 15.88 kB / 1.196 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4179, allocations: 4 kB / 1.196 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.4234, allocations: 2.403 MB / 1.198 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005661/0.424, allocations: 394.8 kB / 1.199 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.4242, allocations: 19.94 kB / 1.199 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.4256, allocations: 175.7 kB / 1.199 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.4258, allocations: 88.34 kB / 1.199 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4259, allocations: 39.97 kB / 1.199 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001343/0.4272, allocations: 1.068 MB / 1.2 GB, free: 0.8555 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.715e-06/0.4273, allocations: 3.938 kB / 1.2 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001722/0.429, allocations: 0.8033 MB / 1.201 GB, free: 48 kB / 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.006561/0.4356, allocations: 3.319 MB / 1.204 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005559/0.4411, allocations: 2.185 MB / 1.206 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4411, allocations: 4 kB / 1.206 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/0.443, allocations: 0.7498 MB / 1.207 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.4462, allocations: 0.8343 MB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/0.4727, allocations: 14.81 MB / 1.222 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009314/0.4736, allocations: 1.277 MB / 1.223 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001779/0.4754, allocations: 416.2 kB / 1.224 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009306/0.4764, allocations: 0.6203 MB / 1.224 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.4764, allocations: 0 / 1.224 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.86/5.336, allocations: 46.37 MB / 1.27 GB, free: 168 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/5.337, allocations: 255.5 kB / 1.27 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.321/14.66, allocations: 6.391 kB / 1.27 GB, free: 167.7 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)