Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7911/0.7911, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001092/0.001092, allocations: 183.5 kB / 187.3 MB, free: 11.87 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.555/1.555, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0009362/0.0009364, allocations: 98.88 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 269.8 kB / 0.5939 GB, free: 7.926 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.8e-05/5.845e-05, allocations: 8 kB / 0.6834 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5515/0.5516, allocations: 82.77 MB / 0.7643 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.295/5.846, allocations: 1.832 GB / 2.596 GB, free: 216.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/5.847, allocations: 99.83 kB / 2.596 GB, free: 216.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.285/10.13, allocations: 1.089 GB / 3.685 GB, free: 177.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/10.13, allocations: 0 / 3.685 GB, free: 177.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001382/10.13, allocations: 36.45 kB / 3.686 GB, free: 177.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00464/10.14, allocations: 1.271 MB / 3.687 GB, free: 176.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/10.14, allocations: 11.84 kB / 3.687 GB, free: 176.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/10.14, allocations: 197.4 kB / 3.687 GB, free: 176.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/10.14, allocations: 1.451 MB / 3.688 GB, free: 176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/10.14, allocations: 46 kB / 3.688 GB, free: 176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/10.14, allocations: 63.69 kB / 3.688 GB, free: 176 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/10.14, allocations: 0.9268 MB / 3.689 GB, free: 175.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/10.14, allocations: 5.906 kB / 3.689 GB, free: 175.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/10.14, allocations: 19.97 kB / 3.689 GB, free: 175.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/10.14, allocations: 15.44 kB / 3.689 GB, free: 175.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008928/10.14, allocations: 0.7116 MB / 3.69 GB, free: 175.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.004286/10.15, allocations: 4.696 MB / 3.695 GB, free: 171.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/10.15, allocations: 3.974 MB / 3.699 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/10.15, allocations: 332.6 kB / 3.699 GB, free: 166.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/10.15, allocations: 199.6 kB / 3.699 GB, free: 166.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/10.15, allocations: 303.8 kB / 3.699 GB, free: 166.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004644/10.15, allocations: 31.86 kB / 3.699 GB, free: 166.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.064e-06/10.15, allocations: 2.375 kB / 3.699 GB, free: 166.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001315/10.15, allocations: 0.7647 MB / 3.7 GB, free: 165.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/10.15, allocations: 80.61 kB / 3.7 GB, free: 165.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/10.15, allocations: 1.039 MB / 3.701 GB, free: 165.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/10.15, allocations: 36.98 kB / 3.701 GB, free: 165.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/10.15, allocations: 0.5173 MB / 3.702 GB, free: 164.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/10.15, allocations: 129.6 kB / 3.702 GB, free: 164.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/10.15, allocations: 7.969 kB / 3.702 GB, free: 164.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.762e-05/10.15, allocations: 325.4 kB / 3.702 GB, free: 164.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/10.15, allocations: 189.1 kB / 3.702 GB, free: 164.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/10.16, allocations: 0.5333 MB / 3.703 GB, free: 163.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/10.16, allocations: 312.3 kB / 3.703 GB, free: 163.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/10.16, allocations: 0 / 3.703 GB, free: 163.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001282/10.16, allocations: 0.964 MB / 3.704 GB, free: 163.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005097/10.16, allocations: 2.221 MB / 3.706 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/10.16, allocations: 7.219 kB / 3.706 GB, free: 160.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/10.16, allocations: 339 kB / 3.707 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/10.16, allocations: 77.05 kB / 3.707 GB, free: 160.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/10.16, allocations: 1.117 MB / 3.708 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/10.16, allocations: 105.4 kB / 3.708 GB, free: 159.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/10.16, allocations: 30.33 kB / 3.708 GB, free: 159.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/10.16, allocations: 3.781 kB / 3.708 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/10.16, allocations: 0.7779 MB / 3.709 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/10.16, allocations: 8.625 kB / 3.709 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000499/10.16, allocations: 246.3 kB / 3.709 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/10.16, allocations: 71.14 kB / 3.709 GB, free: 159.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/10.17, allocations: 3.106 MB / 3.712 GB, free: 156.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/10.17, allocations: 101.1 kB / 3.712 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/10.17, allocations: 27.98 kB / 3.712 GB, free: 156.3 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 (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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/10.17, allocations: 143.2 kB / 3.712 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/10.17, allocations: 110.6 kB / 3.712 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/10.17, allocations: 0.7812 MB / 3.713 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/10.17, allocations: 4 kB / 3.713 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/10.17, allocations: 3.984 kB / 3.713 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/10.17, allocations: 0 / 3.713 GB, free: 155.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 postOpt removeSimpleEquations (simulation): time 0.003039/10.17, allocations: 2.148 MB / 3.715 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/10.17, allocations: 4 kB / 3.715 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/10.17, allocations: 55.58 kB / 3.715 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/10.17, allocations: 230.7 kB / 3.716 GB, free: 152.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/10.17, allocations: 11.98 kB / 3.716 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008432/10.17, allocations: 0.936 MB / 3.717 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/10.17, allocations: 0 / 3.717 GB, free: 151.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/10.18, allocations: 0.9674 MB / 3.717 GB, free: 150.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006828/10.18, allocations: 234.6 kB / 3.718 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/10.18, allocations: 18.95 kB / 3.718 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007563/10.18, allocations: 79.27 kB / 3.718 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/10.18, allocations: 38.78 kB / 3.718 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/10.18, allocations: 15.98 kB / 3.718 GB, free: 150.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001175/10.18, allocations: 0.8145 MB / 3.719 GB, free: 149.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/10.18, allocations: 0 / 3.719 GB, free: 149.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002344/10.18, allocations: 0.6039 MB / 3.719 GB, free: 148.9 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 (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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002052/10.18, allocations: 1.134 MB / 3.72 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002492/10.19, allocations: 1.264 MB / 3.722 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/10.19, allocations: 3.938 kB / 3.722 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005411/10.19, allocations: 289.7 kB / 3.722 GB, free: 146.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/10.19, allocations: 0.649 MB / 3.722 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/10.19, allocations: 1.462 MB / 3.724 GB, free: 144.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/10.19, allocations: 1.237 MB / 3.725 GB, free: 143.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001915/10.19, allocations: 0.803 MB / 3.726 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/10.19, allocations: 47.44 kB / 3.726 GB, free: 142.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/10.19, allocations: 4 kB / 3.726 GB, free: 142.4 MB / 0.698 GB Notification: Performance of Templates: time 0.05178/10.25, allocations: 39.07 MB / 3.764 GB, free: 103.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)