Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9362/0.9362, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001087/0.001087, allocations: 176.6 kB / 182.2 MB, free: 9.449 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.506/1.506, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001004/0.001004, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001667/0.001667, allocations: 280.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.705e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4888, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.027/6.515, allocations: 2.144 GB / 2.901 GB, free: 197 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/6.516, allocations: 106.8 kB / 2.902 GB, free: 196.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.312/10.83, allocations: 1.235 GB / 4.136 GB, free: 45.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.375e-06/10.83, allocations: 6.781 kB / 4.136 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004504/10.83, allocations: 78.41 kB / 4.136 GB, free: 45.32 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.0095/10.84, allocations: 3.469 MB / 4.14 GB, free: 41.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/10.84, allocations: 11.97 kB / 4.14 GB, free: 41.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/10.84, allocations: 0.5126 MB / 4.14 GB, free: 41.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007687/10.85, allocations: 3.28 MB / 4.143 GB, free: 37.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-05/10.85, allocations: 66.34 kB / 4.143 GB, free: 37.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/10.85, allocations: 128 kB / 4.144 GB, free: 37.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003007/10.85, allocations: 1.722 MB / 4.145 GB, free: 36.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/10.86, allocations: 2.094 MB / 4.147 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/10.86, allocations: 7.188 kB / 4.147 GB, free: 33.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/10.86, allocations: 4 kB / 4.147 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/10.86, allocations: 71.64 kB / 4.147 GB, free: 33.82 MB / 0.7292 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.01368/10.87, allocations: 9.402 MB / 4.157 GB, free: 24.22 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/10.87, allocations: 1.29 MB / 4.158 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/10.87, allocations: 0.8925 MB / 4.159 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007866/10.87, allocations: 1.179 MB / 4.16 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/10.87, allocations: 51.88 kB / 4.16 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=113): time 3.677e-06/10.87, allocations: 1.422 kB / 4.16 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=115): time 0.008094/10.88, allocations: 4.216 MB / 4.164 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/10.88, allocations: 286.3 kB / 4.164 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004814/10.89, allocations: 2.538 MB / 4.167 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002514/10.89, allocations: 33.7 kB / 4.167 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/10.89, allocations: 1.418 MB / 4.168 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/10.89, allocations: 377.7 kB / 4.169 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/10.89, allocations: 4 kB / 4.169 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/10.89, allocations: 361.9 kB / 4.169 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/10.89, allocations: 0.9678 MB / 4.17 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/10.89, allocations: 1.372 MB / 4.171 GB, free: 8.699 MB / 0.7292 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.004534/10.89, allocations: 2.512 MB / 4.174 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/10.89, allocations: 4 kB / 4.174 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004249/10.9, allocations: 2.569 MB / 4.176 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000619/10.9, allocations: 2.872 MB / 4.179 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/10.9, allocations: 4 kB / 4.179 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/10.9, allocations: 15.94 kB / 4.179 GB, free: 484 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/10.9, allocations: 264.2 kB / 4.179 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004476/10.9, allocations: 0.6172 MB / 4.18 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/10.9, allocations: 153.5 kB / 4.18 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/10.9, allocations: 75.97 kB / 4.18 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/10.9, allocations: 11.95 kB / 4.18 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004395/10.91, allocations: 2.505 MB / 4.183 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/10.91, allocations: 11.94 kB / 4.183 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/10.91, allocations: 12 kB / 4.183 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/10.91, allocations: 247.6 kB / 4.183 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-05/10.91, allocations: 19.92 kB / 4.183 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/10.91, allocations: 143.8 kB / 4.183 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/10.91, allocations: 75.98 kB / 4.183 GB, free: 12.34 MB / 0.7448 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: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000677/10.91, allocations: 331.6 kB / 4.183 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009858/10.92, allocations: 280.5 kB / 4.184 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/10.92, allocations: 2.019 MB / 4.186 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/10.92, allocations: 15.98 kB / 4.186 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/10.92, allocations: 0 / 4.186 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002698/10.92, allocations: 1.848 MB / 4.187 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/10.93, allocations: 5.031 MB / 4.192 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-05/10.93, allocations: 8.047 kB / 4.192 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/10.93, allocations: 231.7 kB / 4.193 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.302e-05/10.93, allocations: 8 kB / 4.193 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/10.94, allocations: 27.98 kB / 4.193 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004295/10.94, allocations: 0.6132 MB / 4.193 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.287e-05/10.94, allocations: 15.72 kB / 4.193 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6284/11.56, allocations: 3.955 MB / 4.197 GB, free: 73.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/11.57, allocations: 0.6469 MB / 4.198 GB, free: 73.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006065/11.57, allocations: 22.38 kB / 4.198 GB, free: 73.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/11.57, allocations: 127.1 kB / 4.198 GB, free: 73.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004155/11.57, allocations: 151.8 kB / 4.198 GB, free: 73.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/11.57, allocations: 58.83 kB / 4.198 GB, free: 73.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00432/11.57, allocations: 1.925 MB / 4.2 GB, free: 73.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.4e-07/11.57, allocations: 0 / 4.2 GB, free: 73.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005472/11.58, allocations: 1.347 MB / 4.201 GB, free: 73.44 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004949/11.58, allocations: 2.952 MB / 4.204 GB, free: 72.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005689/11.59, allocations: 5.247 MB / 4.209 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/11.59, allocations: 3.5 kB / 4.209 GB, free: 71.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/11.59, allocations: 1.783 MB / 4.211 GB, free: 70.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007137/11.6, allocations: 1.38 MB / 4.212 GB, free: 70.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009106/11.61, allocations: 4.74 MB / 4.217 GB, free: 69.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/11.61, allocations: 2.076 MB / 4.219 GB, free: 68.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004451/11.61, allocations: 0.9647 MB / 4.22 GB, free: 68.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/11.61, allocations: 140.8 kB / 4.22 GB, free: 68.73 MB / 0.7448 GB Notification: Performance of SimCode: time 1.683e-06/11.61, allocations: 0 / 4.22 GB, free: 68.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.1114/11.73, allocations: 69.63 MB / 4.288 GB, free: 64.21 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)