Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.663/2.663, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 172.9 kB / 360.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.44 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.061e-05, allocations: 0 / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/0.8169, allocations: 115.2 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.342/2.159, allocations: 473.8 MB / 1.426 GB, free: 96.13 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/2.16, allocations: 95.81 kB / 1.426 GB, free: 96.09 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.622/7.782, allocations: 0.9969 GB / 2.423 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.254e-06/7.782, allocations: 0 / 2.423 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005513/7.782, allocations: 71.97 kB / 2.423 GB, free: 124.3 MB / 0.9323 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.01234/7.795, allocations: 2.821 MB / 2.426 GB, free: 123 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/7.795, allocations: 10.12 kB / 2.426 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007832/7.803, allocations: 0.6597 MB / 2.427 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/7.819, allocations: 3.034 MB / 2.429 GB, free: 122.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002038/7.821, allocations: 279.2 kB / 2.43 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/7.822, allocations: 111.7 kB / 2.43 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006866/7.829, allocations: 1.438 MB / 2.431 GB, free: 122.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007952/7.837, allocations: 1.667 MB / 2.433 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-05/7.837, allocations: 3.141 kB / 2.433 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000516/7.838, allocations: 3.906 kB / 2.433 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.793e-05/7.838, allocations: 44.28 kB / 2.433 GB, free: 121.9 MB / 0.9323 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.02549/7.863, allocations: 9.3 MB / 2.442 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/7.865, allocations: 0.9027 MB / 2.443 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/7.867, allocations: 0.5792 MB / 2.443 GB, free: 117.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00987/7.877, allocations: 3.957 MB / 2.447 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001536/7.878, allocations: 0.7256 MB / 2.448 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001674/7.88, allocations: 159 kB / 2.448 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 4.869e-06/7.88, allocations: 0 / 2.448 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.004392/7.884, allocations: 1.26 MB / 2.449 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/7.884, allocations: 223.2 kB / 2.45 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003837/7.888, allocations: 1.826 MB / 2.451 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005154/7.889, allocations: 37.39 kB / 2.451 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/7.89, allocations: 1.191 MB / 2.453 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005887/7.891, allocations: 294.2 kB / 2.453 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/7.891, allocations: 7.531 kB / 2.453 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001246/7.891, allocations: 361.2 kB / 2.453 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/7.893, allocations: 0.5945 MB / 2.454 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/7.895, allocations: 1.12 MB / 2.455 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/7.898, allocations: 0.8018 MB / 2.456 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-05/7.898, allocations: 3.719 kB / 2.456 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.006873/7.905, allocations: 1.94 MB / 2.458 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001179/7.906, allocations: 5.264 MB / 2.463 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-05/7.906, allocations: 11.72 kB / 2.463 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.504e-05/7.907, allocations: 22.19 kB / 2.463 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003037/7.91, allocations: 361 kB / 2.463 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.601e-05/7.91, allocations: 22.16 kB / 2.463 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005233/7.915, allocations: 345 kB / 2.463 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006633/7.916, allocations: 95.02 kB / 2.464 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/7.916, allocations: 5.812 kB / 2.464 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006525/7.922, allocations: 1.688 MB / 2.465 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.95e-05/7.922, allocations: 16.28 kB / 2.465 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/7.922, allocations: 19.5 kB / 2.465 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/7.925, allocations: 349.6 kB / 2.466 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/7.925, allocations: 27.25 kB / 2.466 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/7.93, allocations: 314.7 kB / 2.466 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006866/7.931, allocations: 93.64 kB / 2.466 GB, free: 107.8 MB / 0.9323 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.0006442/7.932, allocations: 160.5 kB / 2.466 GB, free: 107.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/7.933, allocations: 232.5 kB / 2.466 GB, free: 107.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/7.937, allocations: 1.462 MB / 2.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/7.937, allocations: 7.812 kB / 2.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/7.937, allocations: 0 / 2.468 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00289/7.94, allocations: 1.175 MB / 2.469 GB, free: 107.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009185/7.949, allocations: 3.407 MB / 2.472 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/7.949, allocations: 3 kB / 2.472 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/7.952, allocations: 225.3 kB / 2.472 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/7.952, allocations: 8.047 kB / 2.472 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/7.952, allocations: 17.92 kB / 2.473 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/7.952, allocations: 7.312 kB / 2.473 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/7.952, allocations: 0 / 2.473 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/7.957, allocations: 2.224 MB / 2.475 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/7.96, allocations: 0.498 MB / 2.475 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006678/7.96, allocations: 0 / 2.475 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/7.964, allocations: 154.2 kB / 2.475 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003672/7.964, allocations: 81.47 kB / 2.475 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/7.964, allocations: 48.55 kB / 2.475 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003314/7.968, allocations: 1.363 MB / 2.477 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.102e-06/7.968, allocations: 1.5 kB / 2.477 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009204/7.977, allocations: 1.449 MB / 2.478 GB, free: 105.8 MB / 0.9323 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.004732/7.982, allocations: 1.486 MB / 2.48 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.009095/7.991, allocations: 2.924 MB / 2.483 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/7.991, allocations: 3.562 kB / 2.483 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/7.993, allocations: 0.5984 MB / 2.483 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01072/8.003, allocations: 0.9648 MB / 2.484 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/8.015, allocations: 3.144 MB / 2.487 GB, free: 104 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/8.018, allocations: 1.704 MB / 2.489 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.008268/8.026, allocations: 0.8143 MB / 2.49 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/8.027, allocations: 146.4 kB / 2.49 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.302e-06/8.027, allocations: 2.938 kB / 2.49 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.1298/8.157, allocations: 51.7 MB / 2.54 GB, free: 99.51 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)