Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8152/0.8152, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001134/0.001134, allocations: 180.9 kB / 182.2 MB, free: 9.434 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.579/1.579, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009431/0.0009431, allocations: 92.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001776, allocations: 272 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.594e-05/1.594e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.746/5.205, allocations: 1.829 GB / 2.586 GB, free: 231.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/5.205, allocations: 91.81 kB / 2.586 GB, free: 231.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.861/9.066, allocations: 1.069 GB / 3.655 GB, free: 175.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/9.066, allocations: 0 / 3.655 GB, free: 175.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001073/9.067, allocations: 33.47 kB / 3.655 GB, free: 175.4 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003794/9.07, allocations: 1.272 MB / 3.656 GB, free: 174.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/9.07, allocations: 16.19 kB / 3.656 GB, free: 174.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/9.071, allocations: 201.4 kB / 3.656 GB, free: 174.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/9.075, allocations: 1.428 MB / 3.658 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/9.075, allocations: 21.64 kB / 3.658 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/9.075, allocations: 38.75 kB / 3.658 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009733/9.076, allocations: 0.703 MB / 3.659 GB, free: 174.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/9.077, allocations: 0.8461 MB / 3.659 GB, free: 174.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/9.077, allocations: 1.062 kB / 3.659 GB, free: 174.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/9.077, allocations: 3.5 kB / 3.659 GB, free: 174.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/9.077, allocations: 18 kB / 3.659 GB, free: 174.3 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.003735/9.081, allocations: 4.596 MB / 3.664 GB, free: 171.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/9.083, allocations: 4.072 MB / 3.668 GB, free: 167 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/9.083, allocations: 341.3 kB / 3.668 GB, free: 167 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/9.083, allocations: 194.6 kB / 3.668 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/9.084, allocations: 293.4 kB / 3.669 GB, free: 166.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004153/9.084, allocations: 21.16 kB / 3.669 GB, free: 166.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.439e-05/9.084, allocations: 0 / 3.669 GB, free: 166.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001824/9.086, allocations: 0.8271 MB / 3.669 GB, free: 166.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/9.086, allocations: 88.12 kB / 3.67 GB, free: 166.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/9.087, allocations: 0.8981 MB / 3.67 GB, free: 166.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/9.087, allocations: 29.14 kB / 3.67 GB, free: 166.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/9.088, allocations: 0.5278 MB / 3.671 GB, free: 166.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/9.088, allocations: 117.1 kB / 3.671 GB, free: 166.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/9.088, allocations: 0 / 3.671 GB, free: 166.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000102/9.088, allocations: 325.6 kB / 3.671 GB, free: 165.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/9.088, allocations: 203.4 kB / 3.672 GB, free: 165.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/9.089, allocations: 0.5374 MB / 3.672 GB, free: 165.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/9.089, allocations: 289.9 kB / 3.672 GB, free: 165.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/9.089, allocations: 3.594 kB / 3.672 GB, free: 165.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001581/9.091, allocations: 0.962 MB / 3.673 GB, free: 165.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005785/9.091, allocations: 2.221 MB / 3.675 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/9.091, allocations: 7.594 kB / 3.675 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/9.092, allocations: 250.3 kB / 3.676 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/9.092, allocations: 98.2 kB / 3.676 GB, free: 162.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/9.094, allocations: 1.768 MB / 3.678 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/9.095, allocations: 85.84 kB / 3.678 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/9.095, allocations: 28.34 kB / 3.678 GB, free: 161.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/9.095, allocations: 3.875 kB / 3.678 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/9.096, allocations: 0.6698 MB / 3.678 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/9.096, allocations: 3.875 kB / 3.678 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004201/9.096, allocations: 199.4 kB / 3.679 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/9.097, allocations: 75.95 kB / 3.679 GB, free: 161.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/9.099, allocations: 2.794 MB / 3.681 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/9.1, allocations: 95.53 kB / 3.681 GB, free: 160.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/9.1, allocations: 31.5 kB / 3.681 GB, free: 160.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001747/9.101, allocations: 126.7 kB / 3.682 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/9.101, allocations: 102.9 kB / 3.682 GB, free: 160.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/9.102, allocations: 0.7168 MB / 3.682 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/9.102, allocations: 7.828 kB / 3.682 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/9.102, allocations: 3.688 kB / 3.682 GB, free: 160.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/9.102, allocations: 7.688 kB / 3.682 GB, free: 160.2 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 postOpt removeSimpleEquations (simulation): time 0.00226/9.104, allocations: 2.003 MB / 3.684 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/9.104, allocations: 0 / 3.684 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/9.104, allocations: 63 kB / 3.684 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/9.105, allocations: 166.2 kB / 3.685 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/9.105, allocations: 6.844 kB / 3.685 GB, free: 159.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000805/9.106, allocations: 1.478 MB / 3.686 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/9.106, allocations: 5.281 kB / 3.686 GB, free: 158.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/9.106, allocations: 0.9086 MB / 3.687 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/9.107, allocations: 223.5 kB / 3.687 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/9.107, allocations: 6.938 kB / 3.687 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/9.108, allocations: 87.2 kB / 3.687 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/9.108, allocations: 33.84 kB / 3.687 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/9.108, allocations: 12.75 kB / 3.687 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007478/9.108, allocations: 0.6986 MB / 3.688 GB, free: 157.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.108, allocations: 0 / 3.688 GB, free: 157.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001634/9.11, allocations: 0.5628 MB / 3.688 GB, free: 157.6 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/9.112, allocations: 1.212 MB / 3.69 GB, free: 157.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002134/9.114, allocations: 1.203 MB / 3.691 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/9.114, allocations: 0 / 3.691 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004821/9.114, allocations: 284.6 kB / 3.691 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/9.117, allocations: 0.5805 MB / 3.692 GB, free: 157 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/9.119, allocations: 1.428 MB / 3.693 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/9.12, allocations: 1.243 MB / 3.694 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001734/9.121, allocations: 0.7067 MB / 3.695 GB, free: 155.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/9.122, allocations: 51 kB / 3.695 GB, free: 155.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.02e-07/9.122, allocations: 0 / 3.695 GB, free: 155.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04001/9.162, allocations: 25.2 MB / 3.72 GB, free: 154.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)