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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001124/0.001124, allocations: 176.9 kB / 361.4 MB, free: 6.891 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.675/1.675, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.0008839/0.0008839, allocations: 100.8 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.625e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7665, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.964, allocations: 473.9 MB / 1.427 GB, free: 94.93 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.965, allocations: 90.58 kB / 1.427 GB, free: 94.89 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.038/6.002, allocations: 0.9968 GB / 2.424 GB, free: 136.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/6.002, allocations: 3.781 kB / 2.424 GB, free: 136.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003177/6.002, allocations: 63.94 kB / 2.424 GB, free: 136.6 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.008054/6.011, allocations: 2.829 MB / 2.427 GB, free: 135.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/6.011, allocations: 12.19 kB / 2.427 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004254/6.015, allocations: 0.6572 MB / 2.428 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008805/6.024, allocations: 3.035 MB / 2.431 GB, free: 134.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007855/6.025, allocations: 271.2 kB / 2.431 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/6.025, allocations: 118.1 kB / 2.431 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002675/6.028, allocations: 1.443 MB / 2.432 GB, free: 134.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/6.03, allocations: 1.655 MB / 2.434 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/6.03, allocations: 10.95 kB / 2.434 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/6.031, allocations: 3.875 kB / 2.434 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/6.031, allocations: 40.62 kB / 2.434 GB, free: 134.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.01321/6.044, allocations: 9.283 MB / 2.443 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/6.045, allocations: 0.9043 MB / 2.444 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/6.046, allocations: 0.5689 MB / 2.445 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005873/6.052, allocations: 3.969 MB / 2.448 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009334/6.053, allocations: 0.7335 MB / 2.449 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009722/6.054, allocations: 167.8 kB / 2.449 GB, free: 128.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=92): time 3.296e-06/6.054, allocations: 0 / 2.449 GB, free: 128.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=92): time 0.002528/6.056, allocations: 1.258 MB / 2.451 GB, free: 128 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/6.056, allocations: 225.3 kB / 2.451 GB, free: 127.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/6.059, allocations: 1.822 MB / 2.453 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/6.059, allocations: 33.05 kB / 2.453 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009711/6.06, allocations: 1.19 MB / 2.454 GB, free: 127.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/6.06, allocations: 301.5 kB / 2.454 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/6.06, allocations: 6.531 kB / 2.454 GB, free: 126.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/6.061, allocations: 363.8 kB / 2.454 GB, free: 126.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/6.061, allocations: 0.6044 MB / 2.455 GB, free: 126.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/6.063, allocations: 1.109 MB / 2.456 GB, free: 125.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/6.065, allocations: 0.801 MB / 2.457 GB, free: 125.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/6.065, allocations: 3.156 kB / 2.457 GB, free: 125.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004473/6.069, allocations: 1.934 MB / 2.459 GB, free: 125.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001445/6.071, allocations: 5.27 MB / 2.464 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/6.071, allocations: 19.17 kB / 2.464 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-05/6.071, allocations: 23.19 kB / 2.464 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/6.072, allocations: 350.6 kB / 2.464 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/6.072, allocations: 26.77 kB / 2.464 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/6.076, allocations: 341.5 kB / 2.465 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/6.076, allocations: 98.19 kB / 2.465 GB, free: 120.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/6.076, allocations: 6.844 kB / 2.465 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003584/6.08, allocations: 1.686 MB / 2.466 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/6.08, allocations: 14.62 kB / 2.466 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/6.08, allocations: 21.25 kB / 2.466 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/6.081, allocations: 354.6 kB / 2.467 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/6.081, allocations: 26.7 kB / 2.467 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/6.084, allocations: 312.6 kB / 2.467 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/6.084, allocations: 93.25 kB / 2.467 GB, free: 120.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.000458/6.085, allocations: 169.5 kB / 2.467 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00268/6.087, allocations: 1.216 MB / 2.468 GB, free: 119.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/6.088, allocations: 229.7 kB / 2.469 GB, free: 119.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/6.091, allocations: 1.457 MB / 2.47 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/6.091, allocations: 10.56 kB / 2.47 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/6.091, allocations: 0 / 2.47 GB, free: 119.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001813/6.093, allocations: 1.163 MB / 2.471 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007192/6.1, allocations: 3.399 MB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/6.1, allocations: 7.109 kB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/6.101, allocations: 230 kB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-05/6.101, allocations: 3.656 kB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/6.101, allocations: 18.3 kB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/6.101, allocations: 11.69 kB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/6.101, allocations: 3.969 kB / 2.475 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/6.105, allocations: 2.223 MB / 2.477 GB, free: 118.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/6.106, allocations: 0.4928 MB / 2.478 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006637/6.107, allocations: 14.17 kB / 2.478 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/6.109, allocations: 154.7 kB / 2.478 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/6.109, allocations: 76.7 kB / 2.478 GB, free: 118.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/6.109, allocations: 55.98 kB / 2.478 GB, free: 118.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002493/6.111, allocations: 1.362 MB / 2.479 GB, free: 118.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.71e-07/6.111, allocations: 0 / 2.479 GB, free: 118.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005924/6.117, allocations: 1.452 MB / 2.481 GB, free: 118 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.006428/6.124, allocations: 4.334 MB / 2.485 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004216/6.128, allocations: 2.929 MB / 2.488 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/6.128, allocations: 3.531 kB / 2.488 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008212/6.129, allocations: 0.5939 MB / 2.488 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/6.135, allocations: 0.9697 MB / 2.489 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/6.146, allocations: 3.731 MB / 2.493 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/6.147, allocations: 1.699 MB / 2.494 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004661/6.152, allocations: 0.8117 MB / 2.495 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/6.153, allocations: 1.008 MB / 2.496 GB, free: 114.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.865e-06/6.153, allocations: 2.812 kB / 2.496 GB, free: 114.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/6.3, allocations: 72.73 MB / 2.567 GB, free: 106.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/6.3, allocations: 212.2 kB / 2.567 GB, free: 106.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.384/11.68, allocations: 4 kB / 2.567 GB, free: 106.6 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_fmu --startTime=0 --stopTime=2500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)