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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.211/2.211, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 191.4 kB / 499.1 MB, free: 4.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 102.8 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 48.5 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2294, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04353/0.273, allocations: 62.23 MB / 1.279 GB, free: 54.75 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.2883, allocations: 13.72 MB / 1.292 GB, free: 41 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003252/0.2916, allocations: 55.69 kB / 1.292 GB, free: 40.95 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.2944, allocations: 0.7964 MB / 1.293 GB, free: 40.14 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.3001, allocations: 2.22 MB / 1.295 GB, free: 37.92 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.3037, allocations: 1.466 MB / 1.297 GB, free: 36.46 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.005383/0.3091, allocations: 5.506 MB / 1.302 GB, free: 30.95 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.3108, allocations: 1.204 MB / 1.303 GB, free: 29.71 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.3136, allocations: 1.42 MB / 1.305 GB, free: 28.28 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3152, allocations: 1.284 MB / 1.306 GB, free: 26.99 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3154, allocations: 96 kB / 1.306 GB, free: 26.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.3181, allocations: 1.321 MB / 1.307 GB, free: 25.57 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.3184, allocations: 430.4 kB / 1.308 GB, free: 25.15 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009103/0.3194, allocations: 0.921 MB / 1.309 GB, free: 24.23 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.3225, allocations: 3.077 MB / 1.312 GB, free: 21.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3225, allocations: 7.922 kB / 1.312 GB, free: 21.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3225, allocations: 0 / 1.312 GB, free: 21.13 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.393e-05/0.3225, allocations: 0 / 1.312 GB, free: 21.13 MB / 0.823 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.003585/0.3261, allocations: 2.329 MB / 1.314 GB, free: 18.74 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3262, allocations: 15.98 kB / 1.314 GB, free: 18.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.3274, allocations: 322.3 kB / 1.314 GB, free: 18.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.3294, allocations: 1.451 MB / 1.316 GB, free: 16.91 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001273/0.3295, allocations: 153.5 kB / 1.316 GB, free: 16.74 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3297, allocations: 112 kB / 1.316 GB, free: 16.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/0.332, allocations: 1.438 MB / 1.317 GB, free: 15.11 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.332, allocations: 4 kB / 1.317 GB, free: 15.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.3322, allocations: 47.98 kB / 1.317 GB, free: 15.05 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.3322, allocations: 31.94 kB / 1.317 GB, free: 15.02 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.335, allocations: 1.335 MB / 1.319 GB, free: 13.69 MB / 0.823 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.006486/0.3415, allocations: 6.624 MB / 1.325 GB, free: 6.621 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.3433, allocations: 1.172 MB / 1.326 GB, free: 5.371 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.3445, allocations: 0.5661 MB / 1.327 GB, free: 4.801 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.3451, allocations: 1.149 MB / 1.328 GB, free: 3.395 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3451, allocations: 39.22 kB / 1.328 GB, free: 3.348 MB / 0.823 GB Notification: Performance of pre-optimization done (n=77): time 3.616e-06/0.3451, allocations: 3.938 kB / 1.328 GB, free: 3.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=77): time 0.003751/0.3489, allocations: 1.593 MB / 1.33 GB, free: 1.742 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.349, allocations: 115.4 kB / 1.33 GB, free: 1.605 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.3505, allocations: 1.393 MB / 1.331 GB, free: 208 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.3506, allocations: 41.7 kB / 1.331 GB, free: 160 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/0.3513, allocations: 0.7163 MB / 1.332 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003053/0.3516, allocations: 260.2 kB / 1.332 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.352, allocations: 174.5 kB / 1.332 GB, free: 15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3522, allocations: 341.9 kB / 1.332 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.3535, allocations: 0.4927 MB / 1.333 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.3549, allocations: 0.7269 MB / 1.334 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/0.3575, allocations: 1.125 MB / 1.335 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.3575, allocations: 4 kB / 1.335 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003442/0.3609, allocations: 1.347 MB / 1.336 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.361, allocations: 8 kB / 1.336 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.361, allocations: 4 kB / 1.336 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.361, allocations: 8.562 kB / 1.336 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3622, allocations: 275.5 kB / 1.336 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.3623, allocations: 11.98 kB / 1.336 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.3638, allocations: 202.8 kB / 1.337 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/0.3639, allocations: 39.98 kB / 1.337 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001887/0.3658, allocations: 0.7985 MB / 1.337 GB, free: 9.449 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/0.3672, allocations: 0.7074 MB / 1.338 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002586/0.3698, allocations: 1.133 MB / 1.339 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.3698, allocations: 0 / 1.339 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003432/0.3733, allocations: 1.354 MB / 1.341 GB, free: 6.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3733, allocations: 9.094 kB / 1.341 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3733, allocations: 4 kB / 1.341 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3733, allocations: 8 kB / 1.341 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.3745, allocations: 272 kB / 1.341 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.3745, allocations: 15.88 kB / 1.341 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.376, allocations: 179.2 kB / 1.341 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.3761, allocations: 36 kB / 1.341 GB, free: 5.582 MB / 0.8386 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.0003328/0.3764, allocations: 240.7 kB / 1.341 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.3767, allocations: 150.1 kB / 1.341 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.3801, allocations: 1.47 MB / 1.343 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.3801, allocations: 15.92 kB / 1.343 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3802, allocations: 0 / 1.343 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002568/0.3827, allocations: 1.101 MB / 1.344 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005944/0.3887, allocations: 3.086 MB / 1.347 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.3887, allocations: 7.984 kB / 1.347 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/0.3897, allocations: 191.7 kB / 1.347 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.3897, allocations: 8.312 kB / 1.347 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.3898, allocations: 31.92 kB / 1.347 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/0.3898, allocations: 7.984 kB / 1.347 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.3898, allocations: 11.94 kB / 1.347 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02139/0.4112, allocations: 9.128 MB / 1.356 GB, free: 5.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/0.4121, allocations: 382.7 kB / 1.356 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/0.4125, allocations: 19.98 kB / 1.356 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/0.4139, allocations: 139.8 kB / 1.357 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.4141, allocations: 84.34 kB / 1.357 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.4142, allocations: 39.97 kB / 1.357 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00163/0.4159, allocations: 1.068 MB / 1.358 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4159, allocations: 3.938 kB / 1.358 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003668/0.4196, allocations: 1.182 MB / 1.359 GB, free: 2.809 MB / 0.8542 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.001124/0.4207, allocations: 461.5 kB / 1.359 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004732/0.4255, allocations: 1.802 MB / 1.361 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.4255, allocations: 0 / 1.361 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.4275, allocations: 0.6445 MB / 1.362 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005494/0.433, allocations: 0.7859 MB / 1.363 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005826/0.4389, allocations: 3.76 MB / 1.366 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.44, allocations: 1.297 MB / 1.367 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002027/0.442, allocations: 420.2 kB / 1.368 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.4425, allocations: 127.3 kB / 1.368 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of SimCode: time 9.42e-07/0.4426, allocations: 0 / 1.368 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of Templates: time 0.05654/0.4991, allocations: 34.8 MB / 1.402 GB, free: 6.91 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)