Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.82/0.82, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001179/0.001179, allocations: 181.1 kB / 191.5 MB, free: 5.758 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.619/1.619, allocations: 223.2 MB / 447.7 MB, free: 6.543 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.001297/0.001297, allocations: 96.22 kB / 0.5188 GB, free: 2.891 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 271.9 kB / 0.6005 GB, free: 49.01 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004499, allocations: 12 kB / 0.6929 GB, free: 2.336 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4659, allocations: 82.77 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.237/5.703, allocations: 1.832 GB / 2.606 GB, free: 152.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/5.703, allocations: 103.5 kB / 2.606 GB, free: 152.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.989/9.692, allocations: 0.9813 GB / 3.587 GB, free: 192.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.043e-06/9.692, allocations: 2.719 kB / 3.587 GB, free: 192.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001957/9.692, allocations: 29.03 kB / 3.587 GB, free: 192.7 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004533/9.696, allocations: 1.435 MB / 3.589 GB, free: 192.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/9.696, allocations: 10.25 kB / 3.589 GB, free: 192.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/9.698, allocations: 194.1 kB / 3.589 GB, free: 192 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/9.701, allocations: 1.104 MB / 3.59 GB, free: 191.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/9.701, allocations: 44.62 kB / 3.59 GB, free: 191.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/9.701, allocations: 63.34 kB / 3.59 GB, free: 191.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/9.702, allocations: 0.7651 MB / 3.591 GB, free: 191.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/9.702, allocations: 4.406 kB / 3.591 GB, free: 191.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/9.702, allocations: 26.06 kB / 3.591 GB, free: 191.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/9.702, allocations: 15.06 kB / 3.591 GB, free: 191.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007721/9.703, allocations: 0.5097 MB / 3.591 GB, free: 191.5 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.004022/9.707, allocations: 4.594 MB / 3.596 GB, free: 188.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/9.708, allocations: 424.4 kB / 3.596 GB, free: 188.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/9.708, allocations: 199.1 kB / 3.596 GB, free: 187.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/9.708, allocations: 292.1 kB / 3.597 GB, free: 187.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/9.708, allocations: 0 / 3.597 GB, free: 187.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00329/9.712, allocations: 1.316 MB / 3.598 GB, free: 187.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/9.712, allocations: 81.48 kB / 3.598 GB, free: 187.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/9.713, allocations: 0.9845 MB / 3.599 GB, free: 187.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/9.713, allocations: 37.3 kB / 3.599 GB, free: 187.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003664/9.713, allocations: 493.9 kB / 3.6 GB, free: 187.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/9.714, allocations: 110.4 kB / 3.6 GB, free: 187.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/9.714, allocations: 14.94 kB / 3.6 GB, free: 187.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/9.714, allocations: 321.4 kB / 3.6 GB, free: 186.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/9.714, allocations: 187.8 kB / 3.6 GB, free: 186.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/9.714, allocations: 0.5087 MB / 3.601 GB, free: 186.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/9.715, allocations: 284.4 kB / 3.601 GB, free: 186.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/9.715, allocations: 0 / 3.601 GB, free: 186.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001386/9.716, allocations: 0.908 MB / 3.602 GB, free: 186.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004568/9.717, allocations: 2.136 MB / 3.604 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/9.717, allocations: 10.72 kB / 3.604 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005649/9.717, allocations: 263.8 kB / 3.604 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/9.718, allocations: 67.55 kB / 3.604 GB, free: 184.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/9.719, allocations: 1.081 MB / 3.605 GB, free: 183.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/9.72, allocations: 105.7 kB / 3.605 GB, free: 183.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/9.72, allocations: 26.03 kB / 3.605 GB, free: 183.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/9.72, allocations: 2.938 kB / 3.605 GB, free: 183.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/9.721, allocations: 0.7177 MB / 3.606 GB, free: 183.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/9.721, allocations: 3.906 kB / 3.606 GB, free: 183.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/9.722, allocations: 222.4 kB / 3.606 GB, free: 183.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/9.722, allocations: 65.16 kB / 3.606 GB, free: 183.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/9.725, allocations: 3.053 MB / 3.609 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/9.727, allocations: 94.31 kB / 3.609 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/9.727, allocations: 28.75 kB / 3.609 GB, free: 182 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.00103/9.728, allocations: 465.5 kB / 3.61 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/9.728, allocations: 107.5 kB / 3.61 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/9.73, allocations: 0.7135 MB / 3.611 GB, free: 181.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/9.73, allocations: 3.375 kB / 3.611 GB, free: 181.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/9.73, allocations: 3.844 kB / 3.611 GB, free: 181.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/9.73, allocations: 0 / 3.611 GB, free: 181.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/9.733, allocations: 1.608 MB / 3.612 GB, free: 181.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/9.733, allocations: 0 / 3.612 GB, free: 181.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/9.733, allocations: 24.95 kB / 3.612 GB, free: 181.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/9.734, allocations: 259.7 kB / 3.613 GB, free: 181.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/9.734, allocations: 7.656 kB / 3.613 GB, free: 181.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/9.735, allocations: 1.024 MB / 3.614 GB, free: 180.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/9.735, allocations: 3.906 kB / 3.614 GB, free: 180.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/9.736, allocations: 0.9185 MB / 3.614 GB, free: 180.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/9.737, allocations: 217.7 kB / 3.615 GB, free: 180.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/9.737, allocations: 13.55 kB / 3.615 GB, free: 180.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/9.737, allocations: 62.98 kB / 3.615 GB, free: 180.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/9.737, allocations: 27.5 kB / 3.615 GB, free: 180.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/9.737, allocations: 13.56 kB / 3.615 GB, free: 180.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001105/9.739, allocations: 0.7791 MB / 3.616 GB, free: 180 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/9.739, allocations: 2.062 kB / 3.616 GB, free: 180 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002096/9.741, allocations: 0.5146 MB / 3.616 GB, free: 180 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/9.742, allocations: 0.9666 MB / 3.617 GB, free: 179.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002645/9.745, allocations: 1.193 MB / 3.618 GB, free: 179.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/9.745, allocations: 7.25 kB / 3.618 GB, free: 179.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/9.746, allocations: 276.5 kB / 3.618 GB, free: 179.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/9.748, allocations: 457.6 kB / 3.619 GB, free: 179.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/9.75, allocations: 2.006 MB / 3.621 GB, free: 178.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/9.751, allocations: 1.205 MB / 3.622 GB, free: 177.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009534/9.752, allocations: 328 kB / 3.622 GB, free: 177.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/9.752, allocations: 58.69 kB / 3.622 GB, free: 177.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/9.752, allocations: 6.562 kB / 3.622 GB, free: 177.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04773/9.8, allocations: 29.31 MB / 3.651 GB, free: 173 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)