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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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.7672/0.7672, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 177.1 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 447.7 MB, free: 6.48 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008574/0.0008573, allocations: 92.2 kB / 0.5188 GB, free: 2.836 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001685/0.001686, allocations: 272.8 kB / 0.6005 GB, free: 48.94 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006352, allocations: 15.98 kB / 0.6929 GB, free: 2.262 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3672, allocations: 82.77 MB / 0.7737 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/5.098, allocations: 2.143 GB / 2.917 GB, free: 155.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/5.098, allocations: 115.2 kB / 2.917 GB, free: 155.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.976/8.075, allocations: 0.8834 GB / 3.8 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.814e-06/8.075, allocations: 2.094 kB / 3.8 GB, free: 66.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001965/8.075, allocations: 55.69 kB / 3.8 GB, free: 66.57 MB / 0.7136 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.005865/8.081, allocations: 2.759 MB / 3.803 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/8.081, allocations: 8.031 kB / 3.803 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/8.083, allocations: 383 kB / 3.803 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/8.087, allocations: 2.047 MB / 3.805 GB, free: 61.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.475e-05/8.087, allocations: 108.5 kB / 3.805 GB, free: 61.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/8.087, allocations: 140 kB / 3.806 GB, free: 61.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/8.089, allocations: 1.601 MB / 3.807 GB, free: 59.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/8.089, allocations: 3.75 kB / 3.807 GB, free: 59.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/8.09, allocations: 56 kB / 3.807 GB, free: 59.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/8.09, allocations: 46.53 kB / 3.807 GB, free: 59.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/8.091, allocations: 1.251 MB / 3.808 GB, free: 58.17 MB / 0.7136 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.008162/8.1, allocations: 6.468 MB / 3.815 GB, free: 51.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/8.101, allocations: 0.926 MB / 3.816 GB, free: 50.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005497/8.101, allocations: 0.685 MB / 3.816 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/8.101, allocations: 48.88 kB / 3.816 GB, free: 49.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.086e-06/8.101, allocations: 0 / 3.816 GB, free: 49.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=85): time 0.005767/8.107, allocations: 3.915 MB / 3.82 GB, free: 45.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/8.107, allocations: 196.6 kB / 3.82 GB, free: 45.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/8.11, allocations: 1.799 MB / 3.822 GB, free: 43.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/8.11, allocations: 47.08 kB / 3.822 GB, free: 43.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006012/8.111, allocations: 0.8875 MB / 3.823 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/8.111, allocations: 294.4 kB / 3.823 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/8.111, allocations: 21.78 kB / 3.823 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/8.111, allocations: 338 kB / 3.824 GB, free: 41.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/8.112, allocations: 0.6048 MB / 3.824 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008819/8.113, allocations: 0.8785 MB / 3.825 GB, free: 40.41 MB / 0.7136 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.00405/8.117, allocations: 2.414 MB / 3.827 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/8.117, allocations: 0 / 3.827 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002609/8.119, allocations: 1.842 MB / 3.829 GB, free: 36.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003975/8.12, allocations: 1.664 MB / 3.831 GB, free: 34.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/8.12, allocations: 4 kB / 3.831 GB, free: 34.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/8.12, allocations: 8 kB / 3.831 GB, free: 34.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/8.12, allocations: 185.5 kB / 3.831 GB, free: 34.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/8.121, allocations: 8 kB / 3.831 GB, free: 34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/8.122, allocations: 121.1 kB / 3.831 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/8.122, allocations: 59.94 kB / 3.831 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/8.122, allocations: 0 / 3.831 GB, free: 33.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002073/8.125, allocations: 1.847 MB / 3.833 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/8.125, allocations: 4 kB / 3.833 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/8.125, allocations: 8 kB / 3.833 GB, free: 31.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/8.125, allocations: 171.7 kB / 3.833 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/8.125, allocations: 14.55 kB / 3.833 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/8.127, allocations: 122 kB / 3.833 GB, free: 31.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/8.127, allocations: 47.98 kB / 3.833 GB, free: 31.61 MB / 0.7136 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.001317/8.129, allocations: 0.7052 MB / 3.834 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/8.129, allocations: 195.5 kB / 3.834 GB, free: 30.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/8.131, allocations: 1.493 MB / 3.836 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/8.131, allocations: 8 kB / 3.836 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/8.131, allocations: 2.875 kB / 3.836 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/8.133, allocations: 1.547 MB / 3.837 GB, free: 27.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/8.138, allocations: 3.628 MB / 3.841 GB, free: 23.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/8.138, allocations: 4 kB / 3.841 GB, free: 23.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/8.139, allocations: 171.4 kB / 3.841 GB, free: 23.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/8.139, allocations: 15.98 kB / 3.841 GB, free: 23.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.528e-05/8.139, allocations: 24 kB / 3.841 GB, free: 23.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/8.139, allocations: 11.84 kB / 3.841 GB, free: 23.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/8.139, allocations: 10.52 kB / 3.841 GB, free: 23.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/8.142, allocations: 2.807 MB / 3.844 GB, free: 20.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009938/8.143, allocations: 454.5 kB / 3.844 GB, free: 20.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/8.143, allocations: 32 kB / 3.844 GB, free: 20.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/8.144, allocations: 98.95 kB / 3.844 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/8.144, allocations: 99.5 kB / 3.844 GB, free: 19.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/8.144, allocations: 39.98 kB / 3.844 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001916/8.146, allocations: 1.402 MB / 3.846 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/8.146, allocations: 0 / 3.846 GB, free: 18.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003122/8.149, allocations: 1.007 MB / 3.847 GB, free: 17.4 MB / 0.7136 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.003242/8.153, allocations: 2.28 MB / 3.849 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003217/8.156, allocations: 3.044 MB / 3.852 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/8.156, allocations: 4 kB / 3.852 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/8.157, allocations: 1.013 MB / 3.853 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004786/8.162, allocations: 1.011 MB / 3.854 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/8.168, allocations: 4.49 MB / 3.858 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/8.169, allocations: 1.561 MB / 3.86 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001975/8.171, allocations: 435.1 kB / 3.86 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/8.171, allocations: 134.4 kB / 3.86 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/8.171, allocations: 0 / 3.86 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of Templates: time 0.4649/8.636, allocations: 59.9 MB / 3.919 GB, free: 93.74 MB / 0.7292 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)