Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7422/0.7422, allocations: 140.1 MB / 156 MB, free: 5.145 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 185.4 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 426.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008312/0.0008313, allocations: 90.3 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001674/0.001674, allocations: 274 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004457, allocations: 20 kB / 0.662 GB, free: 6.777 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.358, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.808/5.166, allocations: 2.312 GB / 3.051 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/5.167, allocations: 103.2 kB / 3.052 GB, free: 259.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.899/8.066, allocations: 0.8655 GB / 3.917 GB, free: 89.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/8.066, allocations: 0 / 3.917 GB, free: 89.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003388/8.066, allocations: 55.91 kB / 3.917 GB, free: 89.62 MB / 0.698 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.007931/8.074, allocations: 2.742 MB / 3.92 GB, free: 88.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/8.074, allocations: 6.75 kB / 3.92 GB, free: 88.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/8.077, allocations: 377.7 kB / 3.92 GB, free: 88.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005279/8.082, allocations: 2.104 MB / 3.922 GB, free: 87.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/8.082, allocations: 110.3 kB / 3.922 GB, free: 87.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/8.083, allocations: 140.8 kB / 3.922 GB, free: 87.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/8.086, allocations: 1.614 MB / 3.924 GB, free: 87.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/8.086, allocations: 3.938 kB / 3.924 GB, free: 87.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/8.087, allocations: 56.44 kB / 3.924 GB, free: 87.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-05/8.087, allocations: 44.12 kB / 3.924 GB, free: 87.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/8.089, allocations: 1.251 MB / 3.925 GB, free: 87.59 MB / 0.698 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.01038/8.1, allocations: 6.44 MB / 3.932 GB, free: 85.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/8.101, allocations: 0.9281 MB / 3.933 GB, free: 85.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/8.102, allocations: 0.6254 MB / 3.933 GB, free: 85.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/8.102, allocations: 0.6855 MB / 3.934 GB, free: 84.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/8.103, allocations: 44.09 kB / 3.934 GB, free: 84.56 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.166e-06/8.103, allocations: 0 / 3.934 GB, free: 84.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.006739/8.109, allocations: 3.676 MB / 3.937 GB, free: 83.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/8.109, allocations: 201.6 kB / 3.938 GB, free: 83.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/8.113, allocations: 1.983 MB / 3.94 GB, free: 83.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/8.113, allocations: 53.89 kB / 3.94 GB, free: 83.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007307/8.114, allocations: 0.8791 MB / 3.941 GB, free: 82.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/8.114, allocations: 300.5 kB / 3.941 GB, free: 82.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/8.114, allocations: 16.28 kB / 3.941 GB, free: 82.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/8.114, allocations: 342.6 kB / 3.941 GB, free: 82.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/8.115, allocations: 0.6046 MB / 3.942 GB, free: 82.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/8.116, allocations: 0.8753 MB / 3.943 GB, free: 82.11 MB / 0.698 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.005083/8.121, allocations: 3.248 MB / 3.946 GB, free: 81.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/8.121, allocations: 6.359 kB / 3.946 GB, free: 81.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002661/8.124, allocations: 1.849 MB / 3.948 GB, free: 80.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/8.124, allocations: 391.3 kB / 3.948 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/8.124, allocations: 3.562 kB / 3.948 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/8.124, allocations: 7.469 kB / 3.948 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/8.125, allocations: 177.9 kB / 3.948 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/8.125, allocations: 9.438 kB / 3.948 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/8.127, allocations: 119.4 kB / 3.948 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/8.127, allocations: 59.41 kB / 3.948 GB, free: 80.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/8.127, allocations: 6.719 kB / 3.948 GB, free: 80.53 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00235/8.129, allocations: 1.846 MB / 3.95 GB, free: 80.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/8.129, allocations: 2.844 kB / 3.95 GB, free: 80.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/8.13, allocations: 6.562 kB / 3.95 GB, free: 80.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006575/8.13, allocations: 181.4 kB / 3.95 GB, free: 80.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/8.13, allocations: 12.81 kB / 3.95 GB, free: 80.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/8.132, allocations: 121.8 kB / 3.95 GB, free: 80.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/8.132, allocations: 47.81 kB / 3.95 GB, free: 80.3 MB / 0.698 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.001399/8.133, allocations: 0.7151 MB / 3.951 GB, free: 80.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/8.134, allocations: 195.7 kB / 3.951 GB, free: 79.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/8.137, allocations: 1.483 MB / 3.953 GB, free: 79.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/8.137, allocations: 11.02 kB / 3.953 GB, free: 79.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/8.137, allocations: 0 / 3.953 GB, free: 79.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001774/8.138, allocations: 1.553 MB / 3.954 GB, free: 79.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/8.146, allocations: 3.616 MB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/8.146, allocations: 3.906 kB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/8.146, allocations: 167.5 kB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/8.146, allocations: 12.19 kB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/8.147, allocations: 31.17 kB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/8.147, allocations: 8.375 kB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/8.147, allocations: 9.406 kB / 3.958 GB, free: 78.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003542/8.15, allocations: 2.446 MB / 3.96 GB, free: 78.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/8.151, allocations: 448.1 kB / 3.961 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/8.152, allocations: 25.53 kB / 3.961 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/8.153, allocations: 103.7 kB / 3.961 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/8.154, allocations: 97.75 kB / 3.961 GB, free: 77.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-05/8.154, allocations: 48.89 kB / 3.961 GB, free: 77.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002545/8.156, allocations: 1.375 MB / 3.963 GB, free: 77.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/8.156, allocations: 0 / 3.963 GB, free: 77.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003872/8.16, allocations: 0.9917 MB / 3.963 GB, free: 77.66 MB / 0.698 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.003817/8.164, allocations: 2.269 MB / 3.966 GB, free: 76.99 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003756/8.168, allocations: 3.051 MB / 3.969 GB, free: 76.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/8.168, allocations: 1.438 kB / 3.969 GB, free: 76.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/8.169, allocations: 1.012 MB / 3.97 GB, free: 76.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006521/8.175, allocations: 1.031 MB / 3.971 GB, free: 75.99 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007644/8.183, allocations: 4.489 MB / 3.975 GB, free: 74.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/8.185, allocations: 1.522 MB / 3.977 GB, free: 73.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002303/8.187, allocations: 431.9 kB / 3.977 GB, free: 73.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/8.188, allocations: 136.1 kB / 3.977 GB, free: 73.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/8.188, allocations: 0 / 3.977 GB, free: 73.39 MB / 0.698 GB Notification: Performance of Templates: time 0.09155/8.279, allocations: 60.75 MB / 4.036 GB, free: 68.48 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)