Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 180.9 kB / 316.3 MB, free: 3.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009354/0.000935, allocations: 84.59 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.157e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.658/5.88, allocations: 2.459 GB / 3.345 GB, free: 292.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/5.881, allocations: 96.09 kB / 3.345 GB, free: 292 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.658/8.539, allocations: 0.8428 GB / 4.187 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/8.539, allocations: 0 / 4.187 GB, free: 82.88 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002413/8.539, allocations: 53.92 kB / 4.187 GB, free: 82.84 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005415/8.544, allocations: 2.364 MB / 4.19 GB, free: 80.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/8.544, allocations: 8.031 kB / 4.19 GB, free: 80.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/8.546, allocations: 387.6 kB / 4.19 GB, free: 80.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/8.55, allocations: 2.039 MB / 4.192 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/8.55, allocations: 40 kB / 4.192 GB, free: 77.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/8.55, allocations: 92.38 kB / 4.192 GB, free: 77.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/8.552, allocations: 1.118 MB / 4.193 GB, free: 76.78 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/8.554, allocations: 1.377 MB / 4.195 GB, free: 75.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/8.554, allocations: 3.906 kB / 4.195 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/8.554, allocations: 5.656 kB / 4.195 GB, free: 75.35 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/8.554, allocations: 46.55 kB / 4.195 GB, free: 75.3 MB / 0.8698 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.007864/8.562, allocations: 6.174 MB / 4.201 GB, free: 68.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/8.563, allocations: 0.8567 MB / 4.202 GB, free: 68.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/8.564, allocations: 0.5667 MB / 4.202 GB, free: 67.53 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005412/8.564, allocations: 0.6877 MB / 4.203 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/8.564, allocations: 43.28 kB / 4.203 GB, free: 66.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=83): time 2.985e-06/8.564, allocations: 0 / 4.203 GB, free: 66.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.004773/8.569, allocations: 2.705 MB / 4.206 GB, free: 63.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/8.569, allocations: 204.6 kB / 4.206 GB, free: 63.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/8.571, allocations: 1.495 MB / 4.207 GB, free: 62.16 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/8.571, allocations: 33.7 kB / 4.207 GB, free: 62.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005187/8.572, allocations: 0.8972 MB / 4.208 GB, free: 61.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/8.572, allocations: 279.7 kB / 4.208 GB, free: 60.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/8.572, allocations: 4 kB / 4.208 GB, free: 60.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/8.572, allocations: 344.8 kB / 4.209 GB, free: 60.59 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/8.573, allocations: 0.561 MB / 4.209 GB, free: 60.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/8.573, allocations: 0.8281 MB / 4.21 GB, free: 59.11 MB / 0.8698 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.003466/8.577, allocations: 2.132 MB / 4.212 GB, free: 56.94 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/8.577, allocations: 0 / 4.212 GB, free: 56.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002266/8.579, allocations: 1.536 MB / 4.214 GB, free: 55.41 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003689/8.58, allocations: 1.646 MB / 4.215 GB, free: 53.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/8.58, allocations: 4 kB / 4.215 GB, free: 53.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/8.58, allocations: 15.17 kB / 4.215 GB, free: 53.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/8.58, allocations: 179.7 kB / 4.215 GB, free: 53.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/8.58, allocations: 8 kB / 4.215 GB, free: 53.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/8.582, allocations: 99.88 kB / 4.216 GB, free: 53.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/8.582, allocations: 47.98 kB / 4.216 GB, free: 53.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/8.582, allocations: 4 kB / 4.216 GB, free: 53.29 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001904/8.584, allocations: 1.457 MB / 4.217 GB, free: 51.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/8.584, allocations: 4 kB / 4.217 GB, free: 51.83 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/8.584, allocations: 8 kB / 4.217 GB, free: 51.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/8.585, allocations: 187.4 kB / 4.217 GB, free: 51.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/8.585, allocations: 8 kB / 4.217 GB, free: 51.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/8.586, allocations: 96.23 kB / 4.217 GB, free: 51.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.576e-05/8.586, allocations: 55.58 kB / 4.217 GB, free: 51.49 MB / 0.8698 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.0002924/8.587, allocations: 227.2 kB / 4.218 GB, free: 51.25 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001656/8.588, allocations: 1.174 MB / 4.219 GB, free: 50.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/8.589, allocations: 173.8 kB / 4.219 GB, free: 49.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/8.591, allocations: 1.248 MB / 4.22 GB, free: 48.63 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/8.591, allocations: 15.05 kB / 4.22 GB, free: 48.62 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.591, allocations: 3.938 kB / 4.22 GB, free: 48.62 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/8.592, allocations: 1.354 MB / 4.221 GB, free: 47.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004943/8.597, allocations: 3.232 MB / 4.225 GB, free: 43.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/8.597, allocations: 4 kB / 4.225 GB, free: 43.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/8.598, allocations: 163.8 kB / 4.225 GB, free: 43.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/8.598, allocations: 11.94 kB / 4.225 GB, free: 43.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/8.598, allocations: 19.98 kB / 4.225 GB, free: 43.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/8.598, allocations: 11.94 kB / 4.225 GB, free: 43.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.839e-06/8.598, allocations: 7.953 kB / 4.225 GB, free: 43.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/8.601, allocations: 2.487 MB / 4.227 GB, free: 41.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009213/8.602, allocations: 434.7 kB / 4.228 GB, free: 40.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/8.602, allocations: 15.95 kB / 4.228 GB, free: 40.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/8.603, allocations: 91.78 kB / 4.228 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/8.603, allocations: 92.34 kB / 4.228 GB, free: 40.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/8.603, allocations: 39.98 kB / 4.228 GB, free: 40.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001587/8.605, allocations: 1.142 MB / 4.229 GB, free: 39.21 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.01e-07/8.605, allocations: 3.938 kB / 4.229 GB, free: 39.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00265/8.608, allocations: 0.9137 MB / 4.23 GB, free: 38.29 MB / 0.8698 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.005875/8.613, allocations: 6.529 MB / 4.236 GB, free: 32.03 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002855/8.616, allocations: 2.951 MB / 4.239 GB, free: 28.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/8.616, allocations: 0 / 4.239 GB, free: 28.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009233/8.617, allocations: 0.9557 MB / 4.24 GB, free: 27.95 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004616/8.622, allocations: 0.8561 MB / 4.241 GB, free: 27.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00895/8.631, allocations: 3.514 MB / 4.244 GB, free: 23.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/8.633, allocations: 1.568 MB / 4.246 GB, free: 22.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003345/8.636, allocations: 0.5977 MB / 4.246 GB, free: 21.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/8.637, allocations: 0.7405 MB / 4.247 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of SimCode: time 1.333e-06/8.637, allocations: 3.938 kB / 4.247 GB, free: 20.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7451/9.382, allocations: 65.08 MB / 4.311 GB, free: 124.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/9.382, allocations: 192.3 kB / 4.311 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.065/13.45, allocations: 3.75 kB / 4.311 GB, free: 124.7 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)