Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001228/0.001228, allocations: 181 kB / 377.1 MB, free: 1.523 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.725/1.725, allocations: 205.4 MB / 0.6366 GB, free: 8.566 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.0009473/0.0009472, allocations: 94.86 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003389, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.39/5.649, allocations: 2.343 GB / 3.331 GB, free: 240.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/5.649, allocations: 100.2 kB / 3.332 GB, free: 240.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.244/8.894, allocations: 0.8743 GB / 4.206 GB, free: 65.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.126e-06/8.894, allocations: 0 / 4.206 GB, free: 65.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002077/8.894, allocations: 51.2 kB / 4.206 GB, free: 65.39 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.006712/8.901, allocations: 2.766 MB / 4.209 GB, free: 62.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/8.901, allocations: 11.97 kB / 4.209 GB, free: 62.54 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004508/8.901, allocations: 194.3 kB / 4.209 GB, free: 62.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/8.903, allocations: 383 kB / 4.209 GB, free: 61.97 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00413/8.907, allocations: 2.051 MB / 4.211 GB, free: 59.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/8.907, allocations: 106.6 kB / 4.211 GB, free: 59.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/8.908, allocations: 141 kB / 4.211 GB, free: 59.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/8.91, allocations: 1.608 MB / 4.213 GB, free: 58.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/8.91, allocations: 0 / 4.213 GB, free: 58.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/8.91, allocations: 58.41 kB / 4.213 GB, free: 57.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/8.91, allocations: 42.53 kB / 4.213 GB, free: 57.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/8.912, allocations: 1.251 MB / 4.214 GB, free: 56.68 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00873/8.921, allocations: 6.462 MB / 4.221 GB, free: 50.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/8.922, allocations: 0.9269 MB / 4.221 GB, free: 49.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005655/8.923, allocations: 0.6828 MB / 4.222 GB, free: 48.27 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/8.923, allocations: 49.92 kB / 4.222 GB, free: 48.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/8.923, allocations: 0 / 4.222 GB, free: 48.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.006086/8.929, allocations: 3.921 MB / 4.226 GB, free: 44.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/8.929, allocations: 200.6 kB / 4.226 GB, free: 43.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/8.932, allocations: 1.787 MB / 4.228 GB, free: 42.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/8.932, allocations: 49.64 kB / 4.228 GB, free: 42.03 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006189/8.933, allocations: 0.8903 MB / 4.229 GB, free: 41.13 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/8.933, allocations: 300.3 kB / 4.229 GB, free: 40.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/8.933, allocations: 18.84 kB / 4.229 GB, free: 40.82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001038/8.933, allocations: 341.9 kB / 4.23 GB, free: 40.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/8.934, allocations: 0.6033 MB / 4.23 GB, free: 39.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/8.935, allocations: 0.8694 MB / 4.231 GB, free: 38.92 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.004027/8.939, allocations: 2.423 MB / 4.233 GB, free: 36.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/8.939, allocations: 0 / 4.233 GB, free: 36.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002644/8.941, allocations: 1.841 MB / 4.235 GB, free: 34.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004667/8.942, allocations: 1.671 MB / 4.237 GB, free: 32.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/8.942, allocations: 4 kB / 4.237 GB, free: 32.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/8.942, allocations: 8 kB / 4.237 GB, free: 32.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/8.943, allocations: 175.7 kB / 4.237 GB, free: 32.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/8.943, allocations: 8 kB / 4.237 GB, free: 32.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/8.944, allocations: 119.9 kB / 4.237 GB, free: 32.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/8.945, allocations: 47.98 kB / 4.237 GB, free: 32.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/8.945, allocations: 4 kB / 4.237 GB, free: 32.35 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002104/8.947, allocations: 1.846 MB / 4.239 GB, free: 30.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/8.947, allocations: 4 kB / 4.239 GB, free: 30.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/8.947, allocations: 8 kB / 4.239 GB, free: 30.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/8.947, allocations: 187.4 kB / 4.239 GB, free: 30.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/8.947, allocations: 8 kB / 4.239 GB, free: 30.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/8.949, allocations: 121.5 kB / 4.239 GB, free: 30.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/8.949, allocations: 51.69 kB / 4.239 GB, free: 30.11 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 () * Number of clocked 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.001387/8.951, allocations: 0.709 MB / 4.24 GB, free: 29.38 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/8.951, allocations: 193.7 kB / 4.24 GB, free: 29.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/8.953, allocations: 1.482 MB / 4.242 GB, free: 27.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/8.953, allocations: 10.78 kB / 4.242 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/8.953, allocations: 3.688 kB / 4.242 GB, free: 27.67 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/8.955, allocations: 1.555 MB / 4.243 GB, free: 26.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005199/8.96, allocations: 3.629 MB / 4.247 GB, free: 22.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/8.96, allocations: 4 kB / 4.247 GB, free: 22.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/8.961, allocations: 175.7 kB / 4.247 GB, free: 22.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/8.961, allocations: 10.88 kB / 4.247 GB, free: 22.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/8.961, allocations: 28 kB / 4.247 GB, free: 22.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/8.961, allocations: 11.98 kB / 4.247 GB, free: 22.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/8.961, allocations: 7.938 kB / 4.247 GB, free: 22.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/8.964, allocations: 2.797 MB / 4.25 GB, free: 19.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/8.965, allocations: 454.5 kB / 4.25 GB, free: 18.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/8.965, allocations: 24 kB / 4.25 GB, free: 18.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/8.966, allocations: 107.5 kB / 4.25 GB, free: 18.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/8.966, allocations: 99.72 kB / 4.25 GB, free: 18.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/8.966, allocations: 39.98 kB / 4.25 GB, free: 18.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002055/8.968, allocations: 1.398 MB / 4.252 GB, free: 16.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/8.968, allocations: 0 / 4.252 GB, free: 16.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003253/8.972, allocations: 1.004 MB / 4.253 GB, free: 15.9 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) * Number of clocked states: 0 () * 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.006982/8.979, allocations: 6.7 MB / 4.259 GB, free: 9.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003448/8.982, allocations: 3.052 MB / 4.262 GB, free: 6.289 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/8.982, allocations: 2.5 kB / 4.262 GB, free: 6.289 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/8.983, allocations: 1.008 MB / 4.263 GB, free: 5.246 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/8.988, allocations: 1.013 MB / 4.264 GB, free: 4.312 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/8.999, allocations: 7.814 MB / 4.272 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/9, allocations: 1.557 MB / 4.273 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002486/9.003, allocations: 432.8 kB / 4.274 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/9.004, allocations: 0.7803 MB / 4.274 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of SimCode: time 9.207e-06/9.004, allocations: 0 / 4.274 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8451/9.849, allocations: 83.25 MB / 4.356 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/9.85, allocations: 234.2 kB / 4.356 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.237/15.09, allocations: 0 / 4.356 GB, free: 115.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)