Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001063/0.001063, allocations: 188.9 kB / 361.4 MB, free: 6.836 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.831/1.831, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009387/0.0009387, allocations: 86.91 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.116e-05/2.118e-05, allocations: 4 kB / 0.8518 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7337, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.782/6.516, allocations: 2.341 GB / 3.306 GB, free: 135.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/6.516, allocations: 99.56 kB / 3.306 GB, free: 135.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.95/9.466, allocations: 0.8652 GB / 4.171 GB, free: 4.605 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/9.466, allocations: 3.938 kB / 4.171 GB, free: 4.602 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001936/9.466, allocations: 61.08 kB / 4.171 GB, free: 4.547 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.005319/9.472, allocations: 2.365 MB / 4.174 GB, free: 2.098 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/9.472, allocations: 8.031 kB / 4.174 GB, free: 2.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/9.473, allocations: 381.3 kB / 4.174 GB, free: 1.715 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7668/10.24, allocations: 2.032 MB / 4.176 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/10.24, allocations: 42.91 kB / 4.176 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/10.24, allocations: 86.14 kB / 4.176 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003072/10.24, allocations: 1.111 MB / 4.177 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/10.25, allocations: 1.37 MB / 4.178 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/10.25, allocations: 1.406 kB / 4.178 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/10.25, allocations: 10.34 kB / 4.178 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/10.25, allocations: 46.22 kB / 4.178 GB, free: 130.8 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.01159/10.26, allocations: 6.169 MB / 4.185 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/10.26, allocations: 0.8501 MB / 4.185 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/10.26, allocations: 0.5782 MB / 4.186 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/10.26, allocations: 0.6852 MB / 4.187 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/10.26, allocations: 48.19 kB / 4.187 GB, free: 128 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 4.188e-06/10.26, allocations: 3.062 kB / 4.187 GB, free: 128 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.007078/10.27, allocations: 2.713 MB / 4.189 GB, free: 127.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/10.27, allocations: 196.4 kB / 4.189 GB, free: 127.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/10.27, allocations: 1.492 MB / 4.191 GB, free: 127 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/10.27, allocations: 31.98 kB / 4.191 GB, free: 127 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/10.27, allocations: 0.8921 MB / 4.192 GB, free: 126.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004324/10.27, allocations: 281.4 kB / 4.192 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/10.27, allocations: 2.281 kB / 4.192 GB, free: 126.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001757/10.27, allocations: 343.5 kB / 4.192 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/10.28, allocations: 0.5677 MB / 4.193 GB, free: 126.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/10.28, allocations: 0.8222 MB / 4.194 GB, free: 126 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.004497/10.28, allocations: 2.143 MB / 4.196 GB, free: 125.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/10.28, allocations: 3.25 kB / 4.196 GB, free: 125.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002721/10.28, allocations: 1.539 MB / 4.197 GB, free: 125.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004242/10.28, allocations: 1.648 MB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/10.28, allocations: 5.844 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/10.28, allocations: 7.25 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/10.29, allocations: 183.2 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/10.29, allocations: 7.625 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/10.29, allocations: 101.1 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/10.29, allocations: 49.64 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/10.29, allocations: 6.875 kB / 4.199 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002184/10.29, allocations: 1.46 MB / 4.201 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/10.29, allocations: 3.125 kB / 4.201 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/10.29, allocations: 7.312 kB / 4.201 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/10.29, allocations: 181.6 kB / 4.201 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/10.29, allocations: 6.688 kB / 4.201 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/10.29, allocations: 95.28 kB / 4.201 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/10.29, allocations: 48.92 kB / 4.201 GB, free: 123.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.0003551/10.29, allocations: 226.9 kB / 4.201 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001938/10.29, allocations: 1.18 MB / 4.202 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/10.29, allocations: 176.9 kB / 4.203 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/10.3, allocations: 1.248 MB / 4.204 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/10.3, allocations: 17.36 kB / 4.204 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/10.3, allocations: 0 / 4.204 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/10.3, allocations: 1.356 MB / 4.205 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005505/10.3, allocations: 3.239 MB / 4.208 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/10.3, allocations: 6.75 kB / 4.208 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/10.3, allocations: 165.6 kB / 4.208 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.635e-05/10.3, allocations: 10.81 kB / 4.209 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/10.3, allocations: 19.75 kB / 4.209 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/10.3, allocations: 8.844 kB / 4.209 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/10.3, allocations: 8.828 kB / 4.209 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/10.31, allocations: 2.491 MB / 4.211 GB, free: 121.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009269/10.31, allocations: 430.7 kB / 4.211 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/10.31, allocations: 19.52 kB / 4.211 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/10.31, allocations: 86.62 kB / 4.211 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/10.31, allocations: 99.08 kB / 4.212 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.963e-05/10.31, allocations: 40.06 kB / 4.212 GB, free: 121.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001857/10.31, allocations: 1.137 MB / 4.213 GB, free: 121.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.32e-07/10.31, allocations: 0 / 4.213 GB, free: 121.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003367/10.32, allocations: 0.9057 MB / 4.214 GB, free: 121.3 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.007782/10.32, allocations: 6.544 MB / 4.22 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005076/10.33, allocations: 2.952 MB / 4.223 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/10.33, allocations: 1.25 kB / 4.223 GB, free: 117.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/10.33, allocations: 0.9635 MB / 4.224 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005603/10.34, allocations: 0.8476 MB / 4.225 GB, free: 117.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/10.35, allocations: 3.507 MB / 4.228 GB, free: 116.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/10.35, allocations: 1.568 MB / 4.23 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004047/10.35, allocations: 0.6013 MB / 4.23 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/10.35, allocations: 0.7379 MB / 4.231 GB, free: 115.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.302e-06/10.35, allocations: 2.625 kB / 4.231 GB, free: 115.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1341/10.49, allocations: 65.03 MB / 4.294 GB, free: 113.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/10.49, allocations: 194.4 kB / 4.295 GB, free: 113.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.33/14.82, allocations: 3.75 kB / 4.295 GB, free: 113.1 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)