Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.001168/0.001168, allocations: 176.9 kB / 361.4 MB, free: 6.871 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.54/1.54, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008549/0.000855, allocations: 94.97 kB / 0.733 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.842e-05, allocations: 4 kB / 0.8517 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.727, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.914, allocations: 473.9 MB / 1.427 GB, free: 94.95 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.914, allocations: 95.62 kB / 1.427 GB, free: 94.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.958/5.872, allocations: 0.9969 GB / 2.424 GB, free: 136.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/5.872, allocations: 0 / 2.424 GB, free: 136.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005544/5.873, allocations: 66.41 kB / 2.424 GB, free: 136 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.008505/5.881, allocations: 2.828 MB / 2.427 GB, free: 134.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/5.881, allocations: 7.188 kB / 2.427 GB, free: 134.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/5.885, allocations: 0.6577 MB / 2.428 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008236/5.894, allocations: 3.031 MB / 2.431 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000807/5.894, allocations: 270.3 kB / 2.431 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008705/5.895, allocations: 116.4 kB / 2.431 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003171/5.898, allocations: 1.438 MB / 2.432 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00337/5.902, allocations: 1.66 MB / 2.434 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/5.902, allocations: 6.062 kB / 2.434 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/5.902, allocations: 6.344 kB / 2.434 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/5.902, allocations: 41.33 kB / 2.434 GB, free: 133.7 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.01381/5.916, allocations: 9.289 MB / 2.443 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/5.917, allocations: 0.9055 MB / 2.444 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/5.918, allocations: 0.5698 MB / 2.445 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006511/5.925, allocations: 3.976 MB / 2.448 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009909/5.926, allocations: 0.7302 MB / 2.449 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001377/5.927, allocations: 158.2 kB / 2.449 GB, free: 127.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 4.248e-06/5.927, allocations: 2 kB / 2.449 GB, free: 127.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.003317/5.93, allocations: 1.257 MB / 2.451 GB, free: 127.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/5.93, allocations: 223.8 kB / 2.451 GB, free: 127.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/5.933, allocations: 1.822 MB / 2.453 GB, free: 126.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002946/5.934, allocations: 37.47 kB / 2.453 GB, free: 126.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009865/5.935, allocations: 1.192 MB / 2.454 GB, free: 126.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002773/5.935, allocations: 301.9 kB / 2.454 GB, free: 126.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/5.935, allocations: 3.844 kB / 2.454 GB, free: 126.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/5.935, allocations: 366 kB / 2.454 GB, free: 126 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/5.936, allocations: 0.6018 MB / 2.455 GB, free: 126 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/5.937, allocations: 1.115 MB / 2.456 GB, free: 125.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/5.939, allocations: 0.8001 MB / 2.457 GB, free: 125.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/5.939, allocations: 5.844 kB / 2.457 GB, free: 125.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003876/5.943, allocations: 1.935 MB / 2.459 GB, free: 125.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009566/5.944, allocations: 5.268 MB / 2.464 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/5.944, allocations: 14.67 kB / 2.464 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/5.944, allocations: 23.5 kB / 2.464 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/5.946, allocations: 349.9 kB / 2.464 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/5.946, allocations: 28.36 kB / 2.464 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/5.949, allocations: 341.8 kB / 2.465 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/5.949, allocations: 95.16 kB / 2.465 GB, free: 119.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/5.949, allocations: 3.594 kB / 2.465 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003453/5.952, allocations: 1.685 MB / 2.466 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/5.952, allocations: 15.17 kB / 2.466 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/5.952, allocations: 26.03 kB / 2.466 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/5.954, allocations: 347.5 kB / 2.467 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/5.954, allocations: 32.33 kB / 2.467 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/5.956, allocations: 317.3 kB / 2.467 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/5.957, allocations: 92.27 kB / 2.467 GB, free: 119.6 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.0004075/5.957, allocations: 167.5 kB / 2.467 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/5.958, allocations: 232.3 kB / 2.467 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/5.96, allocations: 1.452 MB / 2.469 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/5.961, allocations: 10.72 kB / 2.469 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/5.961, allocations: 1.188 kB / 2.469 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/5.962, allocations: 1.164 MB / 2.47 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005418/5.968, allocations: 3.392 MB / 2.473 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/5.968, allocations: 0 / 2.473 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/5.969, allocations: 232 kB / 2.474 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/5.969, allocations: 6.594 kB / 2.474 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.652e-05/5.969, allocations: 27.73 kB / 2.474 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/5.969, allocations: 3.906 kB / 2.474 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/5.969, allocations: 1.938 kB / 2.474 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/5.972, allocations: 2.229 MB / 2.476 GB, free: 118.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/5.973, allocations: 0.4973 MB / 2.476 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/5.973, allocations: 3.406 kB / 2.476 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/5.975, allocations: 150.9 kB / 2.476 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/5.975, allocations: 74.97 kB / 2.476 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/5.975, allocations: 51.92 kB / 2.477 GB, free: 118 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001948/5.977, allocations: 1.363 MB / 2.478 GB, free: 117.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/5.977, allocations: 0 / 2.478 GB, free: 117.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005615/5.983, allocations: 1.456 MB / 2.479 GB, free: 117.6 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.002885/5.986, allocations: 1.48 MB / 2.481 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004034/5.99, allocations: 2.933 MB / 2.484 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/5.99, allocations: 0 / 2.484 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000803/5.991, allocations: 0.5989 MB / 2.484 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00558/5.996, allocations: 0.97 MB / 2.485 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/6.002, allocations: 3.137 MB / 2.488 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/6.003, allocations: 1.709 MB / 2.49 GB, free: 115.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00367/6.006, allocations: 0.8075 MB / 2.491 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/6.007, allocations: 147.8 kB / 2.491 GB, free: 115 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/6.007, allocations: 0 / 2.491 GB, free: 115 MB / 0.948 GB Notification: Performance of Templates: time 0.0727/6.08, allocations: 51.71 MB / 2.541 GB, free: 111.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)