Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001213/0.001213, allocations: 180.8 kB / 366.7 MB, free: 1.695 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.514/1.514, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007557/0.0007557, allocations: 92.95 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.955e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6604/0.6604, allocations: 116.3 MB / 0.9732 GB, free: 76.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.916, allocations: 475.1 MB / 1.437 GB, free: 78.38 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/1.916, allocations: 95 kB / 1.437 GB, free: 78.33 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.851/5.767, allocations: 0.9968 GB / 2.434 GB, free: 132.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/5.767, allocations: 5.969 kB / 2.434 GB, free: 132.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002945/5.767, allocations: 65.69 kB / 2.434 GB, free: 132.5 MB / 0.948 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.007053/5.774, allocations: 2.818 MB / 2.437 GB, free: 131.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/5.774, allocations: 6.594 kB / 2.437 GB, free: 131.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003529/5.778, allocations: 0.6644 MB / 2.438 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/5.786, allocations: 3.03 MB / 2.441 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000725/5.787, allocations: 275.6 kB / 2.441 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/5.787, allocations: 114.2 kB / 2.441 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002459/5.79, allocations: 1.439 MB / 2.442 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/5.792, allocations: 1.661 MB / 2.444 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/5.792, allocations: 6.031 kB / 2.444 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/5.792, allocations: 3.594 kB / 2.444 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/5.792, allocations: 47.03 kB / 2.444 GB, free: 130.2 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.0117/5.804, allocations: 9.291 MB / 2.453 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/5.805, allocations: 0.9032 MB / 2.454 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/5.806, allocations: 0.5714 MB / 2.455 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005541/5.811, allocations: 3.963 MB / 2.458 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008535/5.812, allocations: 0.7301 MB / 2.459 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008955/5.813, allocations: 158.2 kB / 2.459 GB, free: 124.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 3.457e-06/5.813, allocations: 1.812 kB / 2.459 GB, free: 124.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.002326/5.815, allocations: 1.258 MB / 2.461 GB, free: 123.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/5.816, allocations: 217.6 kB / 2.461 GB, free: 123.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/5.818, allocations: 1.829 MB / 2.462 GB, free: 123.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/5.818, allocations: 40.08 kB / 2.463 GB, free: 123.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008834/5.819, allocations: 1.186 MB / 2.464 GB, free: 123 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/5.819, allocations: 293.8 kB / 2.464 GB, free: 122.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/5.819, allocations: 13.12 kB / 2.464 GB, free: 122.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/5.819, allocations: 358.4 kB / 2.464 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008305/5.82, allocations: 0.5946 MB / 2.465 GB, free: 122.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/5.821, allocations: 1.122 MB / 2.466 GB, free: 121.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/5.823, allocations: 0.7984 MB / 2.467 GB, free: 121.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/5.823, allocations: 3.531 kB / 2.467 GB, free: 121.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003779/5.827, allocations: 1.941 MB / 2.469 GB, free: 121.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009922/5.828, allocations: 5.265 MB / 2.474 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.978e-05/5.828, allocations: 19.48 kB / 2.474 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/5.828, allocations: 26.8 kB / 2.474 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/5.829, allocations: 353 kB / 2.474 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/5.829, allocations: 30.41 kB / 2.474 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/5.832, allocations: 337.6 kB / 2.475 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/5.832, allocations: 91.53 kB / 2.475 GB, free: 116.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/5.832, allocations: 5.344 kB / 2.475 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003445/5.836, allocations: 1.689 MB / 2.476 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/5.836, allocations: 17.5 kB / 2.476 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/5.836, allocations: 26.7 kB / 2.476 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/5.837, allocations: 348.9 kB / 2.477 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/5.837, allocations: 30.34 kB / 2.477 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/5.84, allocations: 311.5 kB / 2.477 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/5.84, allocations: 88.8 kB / 2.477 GB, free: 116.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,heaPum.uMod,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 153 * 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.0004218/5.841, allocations: 170.9 kB / 2.477 GB, free: 115.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/5.841, allocations: 231.8 kB / 2.477 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/5.844, allocations: 1.451 MB / 2.479 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/5.844, allocations: 10.56 kB / 2.479 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/5.844, allocations: 0 / 2.479 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/5.846, allocations: 1.166 MB / 2.48 GB, free: 115.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/5.851, allocations: 3.402 MB / 2.483 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/5.851, allocations: 0 / 2.483 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/5.852, allocations: 229.8 kB / 2.484 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/5.852, allocations: 3.062 kB / 2.484 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-05/5.852, allocations: 19.41 kB / 2.484 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/5.852, allocations: 11.58 kB / 2.484 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/5.852, allocations: 0 / 2.484 GB, free: 115.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/5.855, allocations: 2.227 MB / 2.486 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009252/5.856, allocations: 0.499 MB / 2.486 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/5.856, allocations: 3.625 kB / 2.486 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/5.857, allocations: 150.6 kB / 2.486 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/5.858, allocations: 74.92 kB / 2.486 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/5.858, allocations: 49.62 kB / 2.487 GB, free: 114.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001738/5.859, allocations: 1.364 MB / 2.488 GB, free: 114.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/5.859, allocations: 0 / 2.488 GB, free: 114.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004314/5.864, allocations: 1.45 MB / 2.489 GB, free: 114.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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,heaPum.uMod,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 91 * 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.002224/5.866, allocations: 1.463 MB / 2.491 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003533/5.87, allocations: 2.928 MB / 2.494 GB, free: 113.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/5.87, allocations: 3.25 kB / 2.494 GB, free: 113.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007025/5.87, allocations: 0.596 MB / 2.494 GB, free: 113.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/5.875, allocations: 0.9731 MB / 2.495 GB, free: 113.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/5.88, allocations: 3.134 MB / 2.498 GB, free: 112.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/5.881, allocations: 1.71 MB / 2.5 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003821/5.885, allocations: 0.798 MB / 2.501 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/5.885, allocations: 143.8 kB / 2.501 GB, free: 111.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/5.885, allocations: 3.406 kB / 2.501 GB, free: 111.5 MB / 0.948 GB Notification: Performance of Templates: time 0.07552/5.961, allocations: 51.58 MB / 2.551 GB, free: 108 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)