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.796/1.796, allocations: 288.2 MB / 303.2 MB, free: 8.215 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.001223/0.001223, allocations: 175.4 kB / 371.8 MB, free: 10.25 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.675/1.675, allocations: 205.4 MB / 0.6305 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009599/0.00096, allocations: 98.84 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004079, allocations: 15.62 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.33, allocations: 2.342 GB / 3.322 GB, free: 338.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/5.331, allocations: 103.2 kB / 3.322 GB, free: 338.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.731/8.062, allocations: 0.8743 GB / 4.196 GB, free: 138.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/8.062, allocations: 0 / 4.196 GB, free: 138.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002018/8.062, allocations: 58.8 kB / 4.196 GB, free: 138.7 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.006439/8.068, allocations: 2.762 MB / 4.199 GB, free: 137.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/8.068, allocations: 10.31 kB / 4.199 GB, free: 137.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003907/8.069, allocations: 196.7 kB / 4.199 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/8.07, allocations: 378.5 kB / 4.199 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004055/8.075, allocations: 2.064 MB / 4.201 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/8.075, allocations: 106.2 kB / 4.201 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/8.075, allocations: 142.3 kB / 4.201 GB, free: 135.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002537/8.077, allocations: 1.596 MB / 4.203 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/8.077, allocations: 3.094 kB / 4.203 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/8.078, allocations: 59.5 kB / 4.203 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/8.078, allocations: 45.67 kB / 4.203 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/8.08, allocations: 1.252 MB / 4.204 GB, free: 134.6 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.008834/8.088, allocations: 6.454 MB / 4.211 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/8.09, allocations: 0.9395 MB / 4.212 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/8.09, allocations: 0.6787 MB / 4.212 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/8.09, allocations: 55.72 kB / 4.212 GB, free: 129.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 3.376e-06/8.09, allocations: 0 / 4.212 GB, free: 129.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.006532/8.097, allocations: 3.928 MB / 4.216 GB, free: 127.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/8.097, allocations: 200.6 kB / 4.216 GB, free: 127 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00275/8.1, allocations: 1.791 MB / 4.218 GB, free: 126.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/8.1, allocations: 49.39 kB / 4.218 GB, free: 126.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/8.101, allocations: 0.8835 MB / 4.219 GB, free: 125.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/8.101, allocations: 289.9 kB / 4.219 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/8.101, allocations: 19.69 kB / 4.219 GB, free: 125.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/8.101, allocations: 344.1 kB / 4.22 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/8.102, allocations: 0.6101 MB / 4.22 GB, free: 124.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/8.103, allocations: 0.869 MB / 4.221 GB, free: 124.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.004121/8.107, allocations: 2.419 MB / 4.223 GB, free: 123 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/8.107, allocations: 0 / 4.223 GB, free: 123 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002613/8.11, allocations: 1.844 MB / 4.225 GB, free: 122.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004503/8.11, allocations: 1.663 MB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/8.11, allocations: 5.844 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/8.11, allocations: 11.44 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/8.111, allocations: 177 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/8.111, allocations: 11.23 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/8.113, allocations: 121.2 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/8.113, allocations: 51.33 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/8.113, allocations: 2.312 kB / 4.227 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002196/8.115, allocations: 1.845 MB / 4.229 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/8.115, allocations: 2.906 kB / 4.229 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/8.115, allocations: 7.375 kB / 4.229 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/8.116, allocations: 183.6 kB / 4.229 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/8.116, allocations: 9.484 kB / 4.229 GB, free: 119.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/8.117, allocations: 119.8 kB / 4.229 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/8.117, allocations: 49.12 kB / 4.229 GB, free: 119.4 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.001458/8.119, allocations: 0.7129 MB / 4.23 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/8.119, allocations: 204.8 kB / 4.23 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002505/8.122, allocations: 1.476 MB / 4.232 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/8.122, allocations: 7.594 kB / 4.232 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/8.122, allocations: 7.516 kB / 4.232 GB, free: 118.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/8.124, allocations: 1.553 MB / 4.233 GB, free: 117.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008736/8.132, allocations: 3.625 MB / 4.237 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/8.132, allocations: 3.719 kB / 4.237 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008408/8.133, allocations: 171.3 kB / 4.237 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/8.133, allocations: 9.188 kB / 4.237 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.081e-05/8.133, allocations: 30.94 kB / 4.237 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.637e-05/8.133, allocations: 15.02 kB / 4.237 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.133, allocations: 5.719 kB / 4.237 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/8.138, allocations: 2.8 MB / 4.24 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/8.14, allocations: 456 kB / 4.24 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007574/8.141, allocations: 26.28 kB / 4.24 GB, free: 112.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/8.142, allocations: 104.7 kB / 4.24 GB, free: 112.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/8.143, allocations: 97.53 kB / 4.24 GB, free: 112.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/8.143, allocations: 38.61 kB / 4.24 GB, free: 112.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00316/8.146, allocations: 1.398 MB / 4.242 GB, free: 111.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/8.146, allocations: 2.781 kB / 4.242 GB, free: 111.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005436/8.151, allocations: 1.003 MB / 4.243 GB, free: 111.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) * 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.009085/8.16, allocations: 6.697 MB / 4.249 GB, free: 106.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004516/8.165, allocations: 3.051 MB / 4.252 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/8.165, allocations: 6.75 kB / 4.252 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/8.166, allocations: 1.01 MB / 4.253 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/8.173, allocations: 1.012 MB / 4.254 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/8.184, allocations: 7.814 MB / 4.262 GB, free: 98.12 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/8.186, allocations: 1.553 MB / 4.263 GB, free: 97 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002348/8.188, allocations: 430 kB / 4.264 GB, free: 96.87 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/8.189, allocations: 0.7724 MB / 4.265 GB, free: 96.21 MB / 0.948 GB Notification: Performance of SimCode: time 1.203e-06/8.189, allocations: 0 / 4.265 GB, free: 96.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/8.311, allocations: 83.27 MB / 4.346 GB, free: 16.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/8.311, allocations: 241.1 kB / 4.346 GB, free: 16.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.277/13.59, allocations: 0 / 4.346 GB, free: 16.55 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)