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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8118/0.8118, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 183 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008046/0.0008046, allocations: 86.34 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001789/0.001789, allocations: 283.7 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005335, allocations: 24 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4236, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.245, allocations: 2.034 GB / 2.773 GB, free: 176.8 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/5.245, allocations: 99.73 kB / 2.773 GB, free: 176.7 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.269/12.51, allocations: 1.978 GB / 4.751 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.008e-06/12.51, allocations: 3.234 kB / 4.751 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000234/12.51, allocations: 30.58 kB / 4.752 GB, free: 150.8 MB / 0.6667 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.007593/12.52, allocations: 1.576 MB / 4.753 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/12.52, allocations: 7.812 kB / 4.753 GB, free: 150.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/12.52, allocations: 200.6 kB / 4.753 GB, free: 150.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/12.53, allocations: 1.487 MB / 4.755 GB, free: 149.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/12.53, allocations: 47.44 kB / 4.755 GB, free: 149.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/12.53, allocations: 69.16 kB / 4.755 GB, free: 149.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/12.53, allocations: 0.96 MB / 4.756 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/12.53, allocations: 2.344 kB / 4.756 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/12.53, allocations: 22.12 kB / 4.756 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/12.53, allocations: 17.53 kB / 4.756 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/12.53, allocations: 0.7559 MB / 4.757 GB, free: 149.5 MB / 0.6667 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.005246/12.54, allocations: 4.728 MB / 4.761 GB, free: 146.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/12.54, allocations: 4.069 MB / 4.765 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/12.54, allocations: 353.9 kB / 4.765 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/12.54, allocations: 195.2 kB / 4.766 GB, free: 142 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/12.54, allocations: 326.8 kB / 4.766 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005462/12.54, allocations: 33.84 kB / 4.766 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 4.018e-06/12.54, allocations: 0 / 4.766 GB, free: 141.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.005104/12.55, allocations: 1.547 MB / 4.767 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/12.55, allocations: 86.98 kB / 4.768 GB, free: 141.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/12.55, allocations: 1.173 MB / 4.769 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/12.55, allocations: 40.17 kB / 4.769 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/12.55, allocations: 0.5208 MB / 4.769 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.506e-05/12.55, allocations: 123.6 kB / 4.769 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/12.55, allocations: 11.22 kB / 4.769 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/12.55, allocations: 323.2 kB / 4.77 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/12.55, allocations: 212.3 kB / 4.77 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/12.55, allocations: 0.5536 MB / 4.77 GB, free: 140.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/12.55, allocations: 0.6568 MB / 4.771 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/12.55, allocations: 3.906 kB / 4.771 GB, free: 140.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002006/12.55, allocations: 1.041 MB / 4.772 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/12.55, allocations: 285.8 kB / 4.772 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/12.55, allocations: 6.75 kB / 4.772 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/12.56, allocations: 319.4 kB / 4.773 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/12.56, allocations: 90.81 kB / 4.773 GB, free: 139.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008057/12.56, allocations: 1.008 MB / 4.774 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/12.56, allocations: 102.9 kB / 4.774 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/12.56, allocations: 29.53 kB / 4.774 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/12.56, allocations: 3.594 kB / 4.774 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001263/12.56, allocations: 0.7792 MB / 4.775 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/12.56, allocations: 7.5 kB / 4.775 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/12.56, allocations: 231.3 kB / 4.775 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/12.56, allocations: 86.11 kB / 4.775 GB, free: 139.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/12.56, allocations: 2.889 MB / 4.778 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/12.56, allocations: 105 kB / 4.778 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/12.56, allocations: 28.97 kB / 4.778 GB, free: 137.8 MB / 0.6667 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 (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.0006224/12.56, allocations: 481.5 kB / 4.778 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/12.56, allocations: 110.2 kB / 4.778 GB, free: 137.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/12.57, allocations: 0.8034 MB / 4.779 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/12.57, allocations: 3.938 kB / 4.779 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/12.57, allocations: 0 / 4.779 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/12.57, allocations: 3.938 kB / 4.779 GB, free: 137.4 MB / 0.6667 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.002895/12.57, allocations: 2.144 MB / 4.781 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/12.57, allocations: 7.516 kB / 4.781 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/12.57, allocations: 58.23 kB / 4.781 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/12.57, allocations: 180.5 kB / 4.782 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/12.57, allocations: 11.09 kB / 4.782 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005704/12.57, allocations: 0.8538 MB / 4.782 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/12.57, allocations: 5 kB / 4.782 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/12.57, allocations: 0.8647 MB / 4.783 GB, free: 135.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005419/12.57, allocations: 236.3 kB / 4.784 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/12.57, allocations: 7.25 kB / 4.784 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/12.57, allocations: 80.81 kB / 4.784 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/12.57, allocations: 36.8 kB / 4.784 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/12.57, allocations: 17.77 kB / 4.784 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001154/12.57, allocations: 0.8206 MB / 4.784 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.01e-07/12.57, allocations: 0 / 4.784 GB, free: 135.5 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002129/12.58, allocations: 0.6014 MB / 4.785 GB, free: 135.5 MB / 0.6667 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 (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.001649/12.58, allocations: 1.068 MB / 4.786 GB, free: 135.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001941/12.58, allocations: 1.132 MB / 4.787 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/12.58, allocations: 3.312 kB / 4.787 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004274/12.58, allocations: 254.8 kB / 4.787 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/12.58, allocations: 0.6438 MB / 4.788 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/12.59, allocations: 2.1 MB / 4.79 GB, free: 134 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/12.59, allocations: 1.215 MB / 4.791 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001225/12.59, allocations: 392.1 kB / 4.792 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/12.59, allocations: 74.94 kB / 4.792 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of SimCode: time 9.22e-07/12.59, allocations: 3.625 kB / 4.792 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.04785/12.64, allocations: 33.72 MB / 4.825 GB, free: 117.1 MB / 0.6667 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)