Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.873/0.873, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 184.1 kB / 187.3 MB, free: 11.88 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.455/1.455, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008662/0.0008662, allocations: 100.2 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002652/0.002653, allocations: 272 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.921e-05/4.948e-05, allocations: 8 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4872, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.991/5.478, allocations: 1.83 GB / 2.594 GB, free: 249.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/5.479, allocations: 91.89 kB / 2.594 GB, free: 249 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.468/12.95, allocations: 1.996 GB / 4.59 GB, free: 104.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/12.95, allocations: 0 / 4.59 GB, free: 104.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001101/12.95, allocations: 35.98 kB / 4.59 GB, free: 104.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003576/12.95, allocations: 1.278 MB / 4.592 GB, free: 103.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/12.95, allocations: 12.03 kB / 4.592 GB, free: 103.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/12.95, allocations: 196.8 kB / 4.592 GB, free: 103.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/12.95, allocations: 1.429 MB / 4.593 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/12.95, allocations: 45.31 kB / 4.593 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/12.96, allocations: 67.95 kB / 4.593 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/12.96, allocations: 0.9293 MB / 4.594 GB, free: 100.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/12.96, allocations: 0 / 4.594 GB, free: 100.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/12.96, allocations: 27.94 kB / 4.594 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/12.96, allocations: 12 kB / 4.594 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/12.96, allocations: 0.7103 MB / 4.595 GB, free: 99.81 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.003609/12.96, allocations: 4.724 MB / 4.599 GB, free: 94.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/12.96, allocations: 4.022 MB / 4.603 GB, free: 89.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/12.96, allocations: 329.4 kB / 4.604 GB, free: 89.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/12.96, allocations: 202.2 kB / 4.604 GB, free: 89.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/12.96, allocations: 300.7 kB / 4.604 GB, free: 89.04 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003145/12.96, allocations: 35.69 kB / 4.604 GB, free: 89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/12.96, allocations: 0 / 4.604 GB, free: 89 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001204/12.97, allocations: 0.7268 MB / 4.605 GB, free: 88.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/12.97, allocations: 85.11 kB / 4.605 GB, free: 88.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/12.97, allocations: 1.027 MB / 4.606 GB, free: 87.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/12.97, allocations: 45.69 kB / 4.606 GB, free: 87.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/12.97, allocations: 0.5165 MB / 4.607 GB, free: 86.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.925e-05/12.97, allocations: 126.3 kB / 4.607 GB, free: 86.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/12.97, allocations: 4 kB / 4.607 GB, free: 86.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/12.97, allocations: 333.9 kB / 4.607 GB, free: 86.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/12.97, allocations: 189 kB / 4.607 GB, free: 85.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/12.97, allocations: 0.5326 MB / 4.608 GB, free: 85.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/12.97, allocations: 307.3 kB / 4.608 GB, free: 84.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/12.97, allocations: 0 / 4.608 GB, free: 84.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001129/12.97, allocations: 0.9316 MB / 4.609 GB, free: 83.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004803/12.97, allocations: 2.225 MB / 4.611 GB, free: 81.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/12.97, allocations: 8 kB / 4.611 GB, free: 81.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/12.97, allocations: 232.5 kB / 4.611 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/12.97, allocations: 87.77 kB / 4.611 GB, free: 81.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007827/12.97, allocations: 0.9986 MB / 4.612 GB, free: 80.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/12.97, allocations: 99.8 kB / 4.612 GB, free: 80.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/12.97, allocations: 24 kB / 4.612 GB, free: 80.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/12.97, allocations: 4 kB / 4.613 GB, free: 80.11 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001026/12.97, allocations: 0.7483 MB / 4.613 GB, free: 79.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/12.97, allocations: 8 kB / 4.613 GB, free: 79.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004669/12.97, allocations: 231 kB / 4.613 GB, free: 79.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/12.97, allocations: 80.7 kB / 4.614 GB, free: 79.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/12.98, allocations: 2.876 MB / 4.616 GB, free: 76.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008513/12.98, allocations: 103.7 kB / 4.616 GB, free: 75.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/12.98, allocations: 24 kB / 4.616 GB, free: 75.89 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): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001444/12.98, allocations: 157 kB / 4.617 GB, free: 75.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/12.98, allocations: 106.7 kB / 4.617 GB, free: 75.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/12.98, allocations: 0.7578 MB / 4.617 GB, free: 74.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/12.98, allocations: 4 kB / 4.617 GB, free: 74.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/12.98, allocations: 0 / 4.617 GB, free: 74.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/12.98, allocations: 3.984 kB / 4.617 GB, free: 74.85 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.002222/12.98, allocations: 2.104 MB / 4.62 GB, free: 72.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/12.98, allocations: 4 kB / 4.62 GB, free: 72.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/12.98, allocations: 59.84 kB / 4.62 GB, free: 72.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003248/12.98, allocations: 169.7 kB / 4.62 GB, free: 72.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/12.98, allocations: 8 kB / 4.62 GB, free: 72.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/12.98, allocations: 0.8528 MB / 4.621 GB, free: 71.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/12.98, allocations: 4.031 kB / 4.621 GB, free: 71.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/12.98, allocations: 0.9277 MB / 4.621 GB, free: 70.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/12.98, allocations: 243.7 kB / 4.622 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/12.98, allocations: 8 kB / 4.622 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006403/12.98, allocations: 79.75 kB / 4.622 GB, free: 70.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/12.98, allocations: 31.95 kB / 4.622 GB, free: 70.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/12.98, allocations: 20 kB / 4.622 GB, free: 70.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008353/12.99, allocations: 0.8065 MB / 4.623 GB, free: 69.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/12.99, allocations: 0 / 4.623 GB, free: 69.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00162/12.99, allocations: 0.6088 MB / 4.623 GB, free: 68.65 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): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/12.99, allocations: 1.078 MB / 4.624 GB, free: 67.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00144/12.99, allocations: 1.098 MB / 4.625 GB, free: 66.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/12.99, allocations: 0 / 4.625 GB, free: 66.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/12.99, allocations: 235.8 kB / 4.626 GB, free: 66.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/12.99, allocations: 0.6444 MB / 4.626 GB, free: 65.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/12.99, allocations: 1.469 MB / 4.628 GB, free: 64.04 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/13, allocations: 1.239 MB / 4.629 GB, free: 62.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001785/13, allocations: 0.8162 MB / 4.63 GB, free: 61.95 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/13, allocations: 51.44 kB / 4.63 GB, free: 61.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.51e-07/13, allocations: 0 / 4.63 GB, free: 61.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04741/13.04, allocations: 38.32 MB / 4.667 GB, free: 23.78 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)