Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.728/2.728, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001449/0.001449, allocations: 180.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.2 MB / 0.6191 GB, free: 12.16 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.001007/0.001007, allocations: 96.12 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.221e-05, allocations: 0 / 0.8508 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8535/0.8536, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/2.213, allocations: 473.8 MB / 1.426 GB, free: 96.17 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/2.213, allocations: 90.08 kB / 1.426 GB, free: 96.13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.626/7.839, allocations: 0.9968 GB / 2.423 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.944e-06/7.839, allocations: 0 / 2.423 GB, free: 125.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004851/7.84, allocations: 74.16 kB / 2.423 GB, free: 125.1 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.009657/7.849, allocations: 2.825 MB / 2.426 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/7.849, allocations: 12.97 kB / 2.426 GB, free: 123.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/7.855, allocations: 0.6581 MB / 2.426 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/7.868, allocations: 3.034 MB / 2.429 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001421/7.87, allocations: 268.5 kB / 2.43 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/7.871, allocations: 113.8 kB / 2.43 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005291/7.876, allocations: 1.441 MB / 2.431 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005637/7.882, allocations: 1.667 MB / 2.433 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.68e-05/7.882, allocations: 7.406 kB / 2.433 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/7.882, allocations: 2.938 kB / 2.433 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/7.882, allocations: 40.12 kB / 2.433 GB, free: 122.7 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.02204/7.904, allocations: 9.293 MB / 2.442 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/7.907, allocations: 0.9067 MB / 2.443 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/7.908, allocations: 0.5714 MB / 2.443 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009644/7.918, allocations: 3.967 MB / 2.447 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/7.919, allocations: 0.7287 MB / 2.448 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00166/7.921, allocations: 152.1 kB / 2.448 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 6.012e-06/7.921, allocations: 0 / 2.448 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.004583/7.926, allocations: 1.259 MB / 2.449 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/7.926, allocations: 227 kB / 2.45 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004219/7.93, allocations: 1.825 MB / 2.451 GB, free: 116 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005712/7.931, allocations: 37.27 kB / 2.451 GB, free: 116 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.00162/7.932, allocations: 1.198 MB / 2.453 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005508/7.933, allocations: 290.9 kB / 2.453 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/7.933, allocations: 4.844 kB / 2.453 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001249/7.933, allocations: 364.9 kB / 2.453 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/7.935, allocations: 0.5907 MB / 2.454 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/7.937, allocations: 1.117 MB / 2.455 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/7.941, allocations: 0.8023 MB / 2.456 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/7.941, allocations: 3.625 kB / 2.456 GB, free: 114.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.007566/7.948, allocations: 1.946 MB / 2.458 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00136/7.95, allocations: 5.264 MB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/7.95, allocations: 14.56 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.668e-05/7.95, allocations: 22.16 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003063/7.953, allocations: 351.8 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.905e-05/7.953, allocations: 32.08 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005225/7.958, allocations: 347.5 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006495/7.959, allocations: 94.28 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/7.959, allocations: 3.781 kB / 2.463 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/7.97, allocations: 1.681 MB / 2.465 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.268e-05/7.97, allocations: 14.23 kB / 2.465 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.424e-05/7.97, allocations: 21.75 kB / 2.465 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/7.974, allocations: 352.7 kB / 2.466 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.39e-05/7.974, allocations: 28.31 kB / 2.466 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/7.979, allocations: 319.2 kB / 2.466 GB, free: 108.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/7.98, allocations: 90.64 kB / 2.466 GB, free: 108.6 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.0008039/7.981, allocations: 159 kB / 2.466 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004961/7.986, allocations: 1.222 MB / 2.467 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/7.987, allocations: 230.9 kB / 2.467 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005532/7.993, allocations: 1.457 MB / 2.469 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/7.993, allocations: 14.98 kB / 2.469 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/7.993, allocations: 2.156 kB / 2.469 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003683/7.996, allocations: 1.166 MB / 2.47 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/8.007, allocations: 3.403 MB / 2.473 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/8.007, allocations: 0 / 2.473 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/8.009, allocations: 230.4 kB / 2.474 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/8.009, allocations: 3.719 kB / 2.474 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/8.009, allocations: 20.45 kB / 2.474 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/8.009, allocations: 5.094 kB / 2.474 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/8.009, allocations: 5.5 kB / 2.474 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/8.015, allocations: 2.222 MB / 2.476 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/8.017, allocations: 0.4966 MB / 2.476 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006751/8.018, allocations: 6.984 kB / 2.476 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/8.021, allocations: 151.5 kB / 2.476 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003813/8.021, allocations: 76.2 kB / 2.477 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/8.022, allocations: 52.47 kB / 2.477 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003336/8.025, allocations: 1.367 MB / 2.478 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.82e-07/8.025, allocations: 3.391 kB / 2.478 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.007586/8.033, allocations: 1.457 MB / 2.479 GB, free: 106.5 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.0094/8.042, allocations: 4.325 MB / 2.484 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006599/8.049, allocations: 2.929 MB / 2.486 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/8.049, allocations: 3.391 kB / 2.486 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/8.05, allocations: 0.5984 MB / 2.487 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008106/8.058, allocations: 0.9688 MB / 2.488 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/8.071, allocations: 3.738 MB / 2.492 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/8.073, allocations: 1.712 MB / 2.493 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.007194/8.08, allocations: 0.7978 MB / 2.494 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003378/8.084, allocations: 1.008 MB / 2.495 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.352e-06/8.084, allocations: 6.156 kB / 2.495 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2549/8.339, allocations: 72.72 MB / 2.566 GB, free: 82.88 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/8.339, allocations: 200.4 kB / 2.566 GB, free: 82.61 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.996/14.34, allocations: 0 / 2.566 GB, free: 82.61 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop_fmu --startTime=0 --stopTime=2500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)