Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8746/0.8746, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001249/0.001249, allocations: 175.6 kB / 191.5 MB, free: 5.793 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.669/1.669, allocations: 223.2 MB / 447.7 MB, free: 6.582 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.001011/0.001011, allocations: 92.22 kB / 0.5188 GB, free: 2.938 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001786/0.001786, allocations: 274 kB / 0.6005 GB, free: 49.02 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004785, allocations: 16 kB / 0.6929 GB, free: 2.348 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5283, allocations: 82.76 MB / 0.7737 GB, free: 26.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.679/5.208, allocations: 1.832 GB / 2.606 GB, free: 193.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004429/5.208, allocations: 95.83 kB / 2.606 GB, free: 193.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.242/12.45, allocations: 2.008 GB / 4.614 GB, free: 31.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/12.45, allocations: 0 / 4.614 GB, free: 31.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001218/12.45, allocations: 39.92 kB / 4.614 GB, free: 31.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005074/12.46, allocations: 1.566 MB / 4.616 GB, free: 30.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/12.46, allocations: 8.031 kB / 4.616 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/12.46, allocations: 198.4 kB / 4.616 GB, free: 29.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/12.46, allocations: 1.472 MB / 4.617 GB, free: 28.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/12.46, allocations: 45.31 kB / 4.617 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.94e-05/12.46, allocations: 68 kB / 4.617 GB, free: 28.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/12.46, allocations: 0.9487 MB / 4.618 GB, free: 27.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/12.46, allocations: 4 kB / 4.618 GB, free: 27.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/12.46, allocations: 23.98 kB / 4.618 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/12.46, allocations: 23.94 kB / 4.618 GB, free: 27.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/12.46, allocations: 0.7531 MB / 4.619 GB, free: 26.4 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.004048/12.47, allocations: 4.698 MB / 4.624 GB, free: 21.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/12.47, allocations: 4.013 MB / 4.628 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/12.47, allocations: 194.2 kB / 4.628 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005453/12.47, allocations: 325.4 kB / 4.628 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005812/12.47, allocations: 31.69 kB / 4.628 GB, free: 15.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 4.187e-06/12.47, allocations: 0 / 4.628 GB, free: 15.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.003445/12.47, allocations: 1.424 MB / 4.63 GB, free: 14.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/12.47, allocations: 89 kB / 4.63 GB, free: 14.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/12.48, allocations: 1.046 MB / 4.631 GB, free: 13.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/12.48, allocations: 37.7 kB / 4.631 GB, free: 13.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/12.48, allocations: 0.5127 MB / 4.631 GB, free: 12.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/12.48, allocations: 130.2 kB / 4.631 GB, free: 12.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/12.48, allocations: 12 kB / 4.631 GB, free: 12.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.82e-05/12.48, allocations: 330 kB / 4.632 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/12.48, allocations: 205 kB / 4.632 GB, free: 12.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/12.48, allocations: 0.559 MB / 4.632 GB, free: 11.39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/12.48, allocations: 331.2 kB / 4.633 GB, free: 11.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/12.48, allocations: 4 kB / 4.633 GB, free: 11.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001443/12.48, allocations: 1.001 MB / 4.634 GB, free: 10.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004924/12.48, allocations: 2.231 MB / 4.636 GB, free: 7.641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/12.48, allocations: 8 kB / 4.636 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/12.48, allocations: 269.6 kB / 4.636 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/12.48, allocations: 83.81 kB / 4.636 GB, free: 7.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/12.48, allocations: 1.053 MB / 4.637 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/12.48, allocations: 95.86 kB / 4.637 GB, free: 6.113 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/12.48, allocations: 27.98 kB / 4.637 GB, free: 6.086 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/12.48, allocations: 8 kB / 4.637 GB, free: 6.078 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/12.48, allocations: 0.8063 MB / 4.638 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/12.48, allocations: 8 kB / 4.638 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/12.48, allocations: 255.2 kB / 4.638 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/12.48, allocations: 87.81 kB / 4.639 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00324/12.49, allocations: 3.129 MB / 4.642 GB, free: 1.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/12.49, allocations: 103.8 kB / 4.642 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/12.49, allocations: 28 kB / 4.642 GB, free: 1.527 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.000684/12.49, allocations: 480.9 kB / 4.642 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/12.49, allocations: 106.7 kB / 4.642 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/12.49, allocations: 0.8356 MB / 4.643 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/12.49, allocations: 7.938 kB / 4.643 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/12.49, allocations: 4 kB / 4.643 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/12.49, allocations: 0 / 4.643 GB, free: 84 kB / 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 postOpt removeSimpleEquations (simulation): time 0.4814/12.97, allocations: 2.181 MB / 4.645 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/12.97, allocations: 3.016 kB / 4.645 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/12.97, allocations: 46.58 kB / 4.645 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/12.97, allocations: 214.3 kB / 4.646 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/12.97, allocations: 13.52 kB / 4.646 GB, free: 172.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008141/12.97, allocations: 0.8787 MB / 4.646 GB, free: 172 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/12.97, allocations: 6.219 kB / 4.646 GB, free: 172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/12.98, allocations: 0.9968 MB / 4.647 GB, free: 171.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000684/12.98, allocations: 239 kB / 4.648 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/12.98, allocations: 8.828 kB / 4.648 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007416/12.98, allocations: 84.86 kB / 4.648 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/12.98, allocations: 33.91 kB / 4.648 GB, free: 171.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/12.98, allocations: 14.77 kB / 4.648 GB, free: 171.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001589/12.98, allocations: 0.8288 MB / 4.649 GB, free: 171.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.473e-06/12.98, allocations: 0 / 4.649 GB, free: 171.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002683/12.98, allocations: 0.6123 MB / 4.649 GB, free: 171.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/12.98, allocations: 1.129 MB / 4.65 GB, free: 171.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002854/12.99, allocations: 1.156 MB / 4.651 GB, free: 171 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/12.99, allocations: 1.281 kB / 4.651 GB, free: 171 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006015/12.99, allocations: 265.5 kB / 4.652 GB, free: 171 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/12.99, allocations: 0.6537 MB / 4.652 GB, free: 170.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/12.99, allocations: 2.113 MB / 4.654 GB, free: 170 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/13, allocations: 1.233 MB / 4.656 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001371/13, allocations: 378.2 kB / 4.656 GB, free: 169.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/13, allocations: 68.94 kB / 4.656 GB, free: 169.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.583e-06/13, allocations: 2.188 kB / 4.656 GB, free: 169.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05333/13.05, allocations: 34.35 MB / 4.689 GB, free: 168.7 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)