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.98/2.98, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.002154/0.002154, allocations: 172.9 kB / 360.6 MB, free: 7.305 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.446/2.446, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001086/0.001086, allocations: 85.27 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.773e-05, allocations: 8 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8118, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.094/7.906, allocations: 2.341 GB / 3.305 GB, free: 140.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/7.906, allocations: 99.97 kB / 3.305 GB, free: 140.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.372/12.28, allocations: 0.8652 GB / 4.17 GB, free: 9.953 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.484e-06/12.28, allocations: 4 kB / 4.17 GB, free: 9.949 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004025/12.28, allocations: 57.48 kB / 4.17 GB, free: 9.898 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.007986/12.29, allocations: 2.355 MB / 4.172 GB, free: 7.461 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/12.29, allocations: 8.031 kB / 4.172 GB, free: 7.453 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003225/12.29, allocations: 387.5 kB / 4.173 GB, free: 7.074 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007486/12.3, allocations: 2.035 MB / 4.175 GB, free: 5.035 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.596e-05/12.3, allocations: 44 kB / 4.175 GB, free: 4.992 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/12.3, allocations: 84 kB / 4.175 GB, free: 4.91 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003679/12.3, allocations: 1.114 MB / 4.176 GB, free: 3.793 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/12.31, allocations: 1.372 MB / 4.177 GB, free: 2.367 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/12.31, allocations: 15.88 kB / 4.177 GB, free: 2.352 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/12.31, allocations: 0 / 4.177 GB, free: 2.352 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/12.31, allocations: 50.48 kB / 4.177 GB, free: 2.301 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.8013/13.11, allocations: 6.159 MB / 4.183 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002744/13.11, allocations: 0.8527 MB / 4.184 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00169/13.11, allocations: 0.5719 MB / 4.185 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009594/13.11, allocations: 0.6864 MB / 4.185 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/13.11, allocations: 46.34 kB / 4.185 GB, free: 130.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 4.278e-06/13.11, allocations: 0 / 4.185 GB, free: 130.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.01063/13.12, allocations: 2.72 MB / 4.188 GB, free: 129.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/13.12, allocations: 199.5 kB / 4.188 GB, free: 129.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/13.13, allocations: 1.492 MB / 4.19 GB, free: 129.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003718/13.13, allocations: 28.08 kB / 4.19 GB, free: 129.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/13.13, allocations: 0.8957 MB / 4.191 GB, free: 128.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/13.13, allocations: 282.1 kB / 4.191 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/13.13, allocations: 0 / 4.191 GB, free: 128.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001147/13.13, allocations: 343.3 kB / 4.191 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/13.13, allocations: 0.5634 MB / 4.192 GB, free: 128.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/13.13, allocations: 0.8223 MB / 4.193 GB, free: 128.2 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.008071/13.14, allocations: 2.144 MB / 4.195 GB, free: 127.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/13.14, allocations: 0.9375 kB / 4.195 GB, free: 127.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005218/13.15, allocations: 1.544 MB / 4.196 GB, free: 127.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000579/13.15, allocations: 1.646 MB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/13.15, allocations: 4.156 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.422e-05/13.15, allocations: 8.312 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/13.15, allocations: 176.4 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-05/13.15, allocations: 8.75 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/13.15, allocations: 96.23 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/13.15, allocations: 51.81 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/13.15, allocations: 3.625 kB / 4.198 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004237/13.16, allocations: 1.463 MB / 4.2 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/13.16, allocations: 3.625 kB / 4.2 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/13.16, allocations: 7.844 kB / 4.2 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/13.16, allocations: 181.7 kB / 4.2 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/13.16, allocations: 13.52 kB / 4.2 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/13.16, allocations: 93.88 kB / 4.2 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/13.16, allocations: 49.58 kB / 4.2 GB, free: 126 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.0005587/13.16, allocations: 232.6 kB / 4.2 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003417/13.17, allocations: 1.172 MB / 4.201 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007645/13.17, allocations: 176.1 kB / 4.201 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/13.17, allocations: 1.251 MB / 4.203 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/13.17, allocations: 11.52 kB / 4.203 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-05/13.17, allocations: 7.406 kB / 4.203 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002761/13.18, allocations: 1.354 MB / 4.204 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009763/13.19, allocations: 3.234 MB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/13.19, allocations: 6 kB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/13.19, allocations: 166.2 kB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/13.19, allocations: 7.844 kB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/13.19, allocations: 21.22 kB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/13.19, allocations: 11.69 kB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.401e-05/13.19, allocations: 14.2 kB / 4.207 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/13.19, allocations: 2.5 MB / 4.21 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/13.19, allocations: 436.5 kB / 4.21 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007105/13.19, allocations: 15.2 kB / 4.21 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/13.2, allocations: 84.42 kB / 4.21 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005073/13.2, allocations: 99.36 kB / 4.21 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/13.2, allocations: 37.55 kB / 4.21 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003109/13.2, allocations: 1.135 MB / 4.212 GB, free: 123.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.102e-06/13.2, allocations: 3 kB / 4.212 GB, free: 123.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005979/13.21, allocations: 0.9061 MB / 4.212 GB, free: 123.5 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.01699/13.22, allocations: 6.53 MB / 4.219 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008955/13.23, allocations: 2.952 MB / 4.222 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/13.23, allocations: 0 / 4.222 GB, free: 119.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003118/13.24, allocations: 0.9642 MB / 4.223 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/13.25, allocations: 0.8475 MB / 4.223 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/13.27, allocations: 3.511 MB / 4.227 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004079/13.27, allocations: 1.565 MB / 4.228 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008178/13.28, allocations: 0.6004 MB / 4.229 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0028/13.28, allocations: 0.7318 MB / 4.23 GB, free: 117.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.244e-06/13.28, allocations: 0 / 4.23 GB, free: 117.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2043/13.49, allocations: 65.03 MB / 4.293 GB, free: 115.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/13.49, allocations: 191.1 kB / 4.293 GB, free: 115.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.951/19.44, allocations: 2.25 kB / 4.293 GB, free: 115.3 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)