Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",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.432/2.432, allocations: 284.7 MB / 297.2 MB, free: 6.348 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.001511/0.00151, allocations: 173 kB / 365.6 MB, free: 2.645 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.056/2.056, allocations: 205.1 MB / 0.624 GB, free: 8.277 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.001105/0.001104, allocations: 103.7 kB / 0.7371 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.027e-05/5.044e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8309, allocations: 115.2 MB / 0.9699 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.125/7.956, allocations: 2.342 GB / 3.312 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/7.956, allocations: 102.6 kB / 3.312 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.089/13.05, allocations: 0.8725 GB / 4.184 GB, free: 137.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.425e-06/13.05, allocations: 0 / 4.184 GB, free: 137.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004041/13.05, allocations: 52.7 kB / 4.184 GB, free: 137.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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00809/13.05, allocations: 2.364 MB / 4.187 GB, free: 136.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/13.05, allocations: 8.219 kB / 4.187 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008512/13.05, allocations: 194.4 kB / 4.187 GB, free: 136.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/13.06, allocations: 388.1 kB / 4.187 GB, free: 136.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007499/13.07, allocations: 2.039 MB / 4.189 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/13.07, allocations: 103.9 kB / 4.189 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006078/13.07, allocations: 138.9 kB / 4.19 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/13.07, allocations: 1.56 MB / 4.191 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.999e-05/13.07, allocations: 0 / 4.191 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/13.07, allocations: 63.55 kB / 4.191 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.395e-05/13.07, allocations: 44.09 kB / 4.191 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003951/13.08, allocations: 1.188 MB / 4.192 GB, free: 135.9 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.01644/13.09, allocations: 6.462 MB / 4.199 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/13.09, allocations: 0.8868 MB / 4.2 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/13.1, allocations: 0.5981 MB / 4.2 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008475/13.1, allocations: 0.6902 MB / 4.201 GB, free: 133 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/13.1, allocations: 44.84 kB / 4.201 GB, free: 132.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 4.208e-06/13.1, allocations: 5.094 kB / 4.201 GB, free: 132.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.009925/13.11, allocations: 3.084 MB / 4.204 GB, free: 132 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/13.11, allocations: 200.1 kB / 4.204 GB, free: 131.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005372/13.11, allocations: 1.776 MB / 4.206 GB, free: 131.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/13.11, allocations: 50.23 kB / 4.206 GB, free: 131.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/13.11, allocations: 0.8769 MB / 4.207 GB, free: 131.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006299/13.11, allocations: 294.6 kB / 4.207 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/13.11, allocations: 16.59 kB / 4.207 GB, free: 131.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/13.12, allocations: 346.7 kB / 4.207 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/13.12, allocations: 0.5803 MB / 4.208 GB, free: 130.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/13.12, allocations: 0.8441 MB / 4.209 GB, free: 130.6 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008854/13.13, allocations: 2.366 MB / 4.211 GB, free: 130.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/13.13, allocations: 1.156 kB / 4.211 GB, free: 130.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005377/13.13, allocations: 1.801 MB / 4.213 GB, free: 129.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005689/13.13, allocations: 1.655 MB / 4.214 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/13.13, allocations: 11.34 kB / 4.214 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.193e-05/13.13, allocations: 9 kB / 4.214 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/13.14, allocations: 178.5 kB / 4.215 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.549e-05/13.14, allocations: 11.94 kB / 4.215 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/13.14, allocations: 118.3 kB / 4.215 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/13.14, allocations: 50.38 kB / 4.215 GB, free: 128 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/13.14, allocations: 3.312 kB / 4.215 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004938/13.14, allocations: 1.789 MB / 4.217 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/13.14, allocations: 3.312 kB / 4.217 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/13.14, allocations: 10.81 kB / 4.217 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/13.15, allocations: 177.4 kB / 4.217 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-05/13.15, allocations: 11.67 kB / 4.217 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/13.15, allocations: 117.4 kB / 4.217 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/13.15, allocations: 50.97 kB / 4.217 GB, free: 127.8 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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.0006847/13.15, allocations: 264.5 kB / 4.217 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008386/13.15, allocations: 200.8 kB / 4.217 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/13.16, allocations: 1.43 MB / 4.219 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/13.16, allocations: 7.594 kB / 4.219 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/13.16, allocations: 3.484 kB / 4.219 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003109/13.16, allocations: 1.496 MB / 4.22 GB, free: 126.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/13.17, allocations: 3.576 MB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/13.17, allocations: 4.656 kB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/13.17, allocations: 168.5 kB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.537e-05/13.17, allocations: 8.188 kB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/13.17, allocations: 32.47 kB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-05/13.17, allocations: 12.66 kB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/13.17, allocations: 5.5 kB / 4.224 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/13.18, allocations: 2.73 MB / 4.227 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/13.18, allocations: 450.3 kB / 4.227 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009427/13.18, allocations: 30.94 kB / 4.227 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/13.19, allocations: 96.59 kB / 4.227 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000519/13.19, allocations: 100.3 kB / 4.227 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/13.19, allocations: 42.05 kB / 4.227 GB, free: 125 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004705/13.19, allocations: 1.38 MB / 4.229 GB, free: 124.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.92e-07/13.19, allocations: 0 / 4.229 GB, free: 124.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007118/13.2, allocations: 1.003 MB / 4.23 GB, free: 124.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.01311/13.21, allocations: 6.603 MB / 4.236 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007498/13.22, allocations: 3.046 MB / 4.239 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/13.22, allocations: 1 kB / 4.239 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/13.22, allocations: 0.984 MB / 4.24 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009375/13.23, allocations: 1.013 MB / 4.241 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/13.24, allocations: 3.631 MB / 4.244 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/13.25, allocations: 1.57 MB / 4.246 GB, free: 119 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005784/13.25, allocations: 0.6631 MB / 4.247 GB, free: 119 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001885/13.25, allocations: 0.7373 MB / 4.247 GB, free: 119 MB / 0.948 GB Notification: Performance of SimCode: time 2.134e-06/13.25, allocations: 0 / 4.247 GB, free: 119 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2035/13.46, allocations: 91.35 MB / 4.337 GB, free: 115.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/13.46, allocations: 207 kB / 4.337 GB, free: 115.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/20.58, allocations: 6.812 kB / 4.337 GB, free: 115.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)