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.8243/0.8243, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001074/0.001074, allocations: 180.8 kB / 182.2 MB, free: 9.465 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.504/1.504, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009628/0.0009626, allocations: 80.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 274.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.43e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5224, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.951/6.473, allocations: 2.142 GB / 2.9 GB, free: 143.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/6.474, allocations: 96.02 kB / 2.9 GB, free: 143.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.122/9.596, allocations: 0.8744 GB / 3.774 GB, free: 54.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/9.596, allocations: 4 kB / 3.774 GB, free: 54.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002862/9.596, allocations: 51.67 kB / 3.774 GB, free: 54.82 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.005753/9.602, allocations: 2.359 MB / 3.776 GB, free: 52.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/9.602, allocations: 11.97 kB / 3.776 GB, free: 52.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/9.604, allocations: 377 kB / 3.777 GB, free: 52.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004405/9.609, allocations: 2.032 MB / 3.779 GB, free: 50.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/9.609, allocations: 47.94 kB / 3.779 GB, free: 50.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/9.609, allocations: 89.62 kB / 3.779 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002061/9.611, allocations: 1.118 MB / 3.78 GB, free: 48.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/9.613, allocations: 1.368 MB / 3.781 GB, free: 47.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/9.613, allocations: 1.312 kB / 3.781 GB, free: 47.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/9.614, allocations: 4 kB / 3.781 GB, free: 47.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/9.614, allocations: 62.02 kB / 3.781 GB, free: 47.33 MB / 0.698 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.007482/9.621, allocations: 6.158 MB / 3.787 GB, free: 41 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/9.622, allocations: 0.8621 MB / 3.788 GB, free: 40.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/9.623, allocations: 0.5732 MB / 3.789 GB, free: 39.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/9.623, allocations: 0.6841 MB / 3.79 GB, free: 38.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/9.623, allocations: 45.78 kB / 3.79 GB, free: 38.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.574e-06/9.623, allocations: 0.5625 kB / 3.79 GB, free: 38.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=85): time 0.004625/9.628, allocations: 2.709 MB / 3.792 GB, free: 35.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/9.628, allocations: 196.7 kB / 3.792 GB, free: 35.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/9.63, allocations: 1.493 MB / 3.794 GB, free: 34.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/9.63, allocations: 29.7 kB / 3.794 GB, free: 34.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/9.63, allocations: 0.9027 MB / 3.795 GB, free: 33.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/9.63, allocations: 287.7 kB / 3.795 GB, free: 32.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/9.63, allocations: 3.938 kB / 3.795 GB, free: 32.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/9.631, allocations: 341.9 kB / 3.795 GB, free: 32.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/9.631, allocations: 0.561 MB / 3.796 GB, free: 32.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/9.632, allocations: 0.8219 MB / 3.797 GB, free: 31.15 MB / 0.698 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.00342/9.635, allocations: 2.141 MB / 3.799 GB, free: 28.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/9.635, allocations: 7.656 kB / 3.799 GB, free: 28.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002058/9.637, allocations: 1.537 MB / 3.8 GB, free: 27.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003562/9.638, allocations: 1.644 MB / 3.802 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/9.638, allocations: 10.59 kB / 3.802 GB, free: 25.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/9.638, allocations: 8 kB / 3.802 GB, free: 25.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/9.638, allocations: 175.8 kB / 3.802 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/9.638, allocations: 11.94 kB / 3.802 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/9.64, allocations: 96.88 kB / 3.802 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/9.64, allocations: 47.98 kB / 3.802 GB, free: 25.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/9.64, allocations: 9.203 kB / 3.802 GB, free: 25.31 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/9.642, allocations: 1.462 MB / 3.804 GB, free: 23.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/9.642, allocations: 7.938 kB / 3.804 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/9.642, allocations: 8 kB / 3.804 GB, free: 23.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/9.642, allocations: 171.8 kB / 3.804 GB, free: 23.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/9.642, allocations: 14.91 kB / 3.804 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/9.644, allocations: 92.81 kB / 3.804 GB, free: 23.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/9.644, allocations: 51.98 kB / 3.804 GB, free: 23.52 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 () * 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.0002821/9.644, allocations: 226.7 kB / 3.804 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/9.644, allocations: 181.8 kB / 3.804 GB, free: 23.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/9.646, allocations: 1.251 MB / 3.806 GB, free: 21.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/9.646, allocations: 8 kB / 3.806 GB, free: 21.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/9.646, allocations: 0 / 3.806 GB, free: 21.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/9.648, allocations: 1.365 MB / 3.807 GB, free: 20.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/9.652, allocations: 3.235 MB / 3.81 GB, free: 17.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/9.652, allocations: 4 kB / 3.81 GB, free: 17.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/9.653, allocations: 170.4 kB / 3.81 GB, free: 16.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/9.653, allocations: 11.98 kB / 3.81 GB, free: 16.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/9.653, allocations: 19.95 kB / 3.81 GB, free: 16.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/9.653, allocations: 8 kB / 3.81 GB, free: 16.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/9.653, allocations: 7.938 kB / 3.81 GB, free: 16.85 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/9.655, allocations: 2.486 MB / 3.813 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007982/9.656, allocations: 434.8 kB / 3.813 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/9.657, allocations: 11.98 kB / 3.813 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/9.657, allocations: 87.67 kB / 3.813 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/9.658, allocations: 105.3 kB / 3.813 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/9.658, allocations: 35.98 kB / 3.813 GB, free: 13.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001426/9.659, allocations: 1.137 MB / 3.815 GB, free: 12.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/9.659, allocations: 0 / 3.815 GB, free: 12.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002835/9.662, allocations: 0.906 MB / 3.815 GB, free: 11.5 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) * 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.003162/9.665, allocations: 2.385 MB / 3.818 GB, free: 9.527 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002766/9.668, allocations: 2.956 MB / 3.821 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/9.668, allocations: 0 / 3.821 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008967/9.669, allocations: 0.9631 MB / 3.822 GB, free: 5.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/9.673, allocations: 0.8497 MB / 3.822 GB, free: 4.648 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/9.678, allocations: 3.045 MB / 3.825 GB, free: 1.648 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008969/9.679, allocations: 1.568 MB / 3.827 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002414/9.681, allocations: 0.5959 MB / 3.828 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/9.681, allocations: 91.42 kB / 3.828 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/9.681, allocations: 0 / 3.828 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.5746/10.26, allocations: 45.65 MB / 3.872 GB, free: 87.7 MB / 0.7136 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)