Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json 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/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.395/1.395, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.9 MB / 0.51 GB, free: 4.797 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005604/0.0005607, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6203, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1809/0.8013, allocations: 140.6 MB / 0.8653 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.8054, allocations: 2.195 MB / 0.8674 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.8058, allocations: 7.938 kB / 0.8674 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.8067, allocations: 238.9 kB / 0.8677 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.8087, allocations: 0.6933 MB / 0.8683 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.8101, allocations: 487.2 kB / 0.8688 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.8122, allocations: 1.641 MB / 0.8704 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.8153, allocations: 2.319 MB / 0.8727 GB, free: 6.887 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.8173, allocations: 0.8526 MB / 0.8735 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.8181, allocations: 0.6109 MB / 0.8741 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.917e-05/0.8182, allocations: 48 kB / 0.8741 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.8198, allocations: 0.6163 MB / 0.8747 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.8201, allocations: 307 kB / 0.875 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.8204, allocations: 245.1 kB / 0.8753 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.8215, allocations: 1.169 MB / 0.8764 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.8216, allocations: 0 / 0.8764 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8216, allocations: 4 kB / 0.8764 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.8216, allocations: 0 / 0.8764 GB, free: 3.031 MB / 0.6856 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.002713/0.8243, allocations: 1.514 MB / 0.8779 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.8244, allocations: 8.031 kB / 0.8779 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008268/0.8252, allocations: 194.4 kB / 0.8781 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.8269, allocations: 0.8717 MB / 0.8789 GB, free: 340 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.664e-05/0.827, allocations: 49.31 kB / 0.879 GB, free: 288 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.8271, allocations: 68 kB / 0.8791 GB, free: 220 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.8286, allocations: 0.9896 MB / 0.88 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.8286, allocations: 0 / 0.88 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.8287, allocations: 24 kB / 0.88 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.8287, allocations: 16 kB / 0.8801 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.8299, allocations: 0.8077 MB / 0.8808 GB, free: 14.3 MB / 0.7012 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.004986/0.8349, allocations: 4.815 MB / 0.8855 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.8375, allocations: 4.038 MB / 0.8895 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/0.8376, allocations: 16.27 kB / 0.8895 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.8381, allocations: 341.8 kB / 0.8898 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002941/0.8384, allocations: 27.69 kB / 0.8899 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/0.8384, allocations: 0 / 0.8899 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of matching and sorting (n=35): time 0.004528/0.8429, allocations: 1.592 MB / 0.8914 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.843, allocations: 106.8 kB / 0.8915 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.8446, allocations: 1.177 MB / 0.8927 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.8447, allocations: 37.7 kB / 0.8927 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000531/0.8452, allocations: 0.516 MB / 0.8932 GB, free: 400 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.8454, allocations: 122.3 kB / 0.8933 GB, free: 276 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.8454, allocations: 12 kB / 0.8933 GB, free: 264 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8456, allocations: 322 kB / 0.8936 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.8459, allocations: 213 kB / 0.8938 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.8466, allocations: 0.5293 MB / 0.8944 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005042/0.8471, allocations: 325.4 kB / 0.8947 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.8471, allocations: 0 / 0.8947 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002186/0.8493, allocations: 1.042 MB / 0.8957 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001257/0.8506, allocations: 2.13 MB / 0.8978 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.8506, allocations: 11.94 kB / 0.8978 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.852, allocations: 336.4 kB / 0.8981 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.8524, allocations: 107.8 kB / 0.8982 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.8535, allocations: 1.009 MB / 0.8992 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.8545, allocations: 99.75 kB / 0.8993 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.8546, allocations: 31.92 kB / 0.8993 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.8546, allocations: 4 kB / 0.8993 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001449/0.8561, allocations: 0.7864 MB / 0.9001 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8561, allocations: 4 kB / 0.9001 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.8566, allocations: 235.8 kB / 0.9003 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.857, allocations: 104.4 kB / 0.9004 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003753/0.8608, allocations: 2.985 MB / 0.9033 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.8619, allocations: 107.7 kB / 0.9034 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.862, allocations: 23.95 kB / 0.9035 GB, free: 5.391 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (38): * Single equations (assignments): 36 * 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.0007724/0.8627, allocations: 476.7 kB / 0.9039 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.8629, allocations: 110.6 kB / 0.904 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.8643, allocations: 0.7623 MB / 0.9048 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.8643, allocations: 7.953 kB / 0.9048 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.8643, allocations: 4 kB / 0.9048 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.8643, allocations: 3.984 kB / 0.9048 GB, free: 4.012 MB / 0.7169 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.002906/0.8673, allocations: 2.194 MB / 0.9069 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8673, allocations: 4 kB / 0.9069 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.8676, allocations: 79.88 kB / 0.907 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.868, allocations: 180.9 kB / 0.9072 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.8681, allocations: 11.94 kB / 0.9072 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007068/0.8688, allocations: 0.861 MB / 0.908 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8688, allocations: 0 / 0.908 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5021/1.371, allocations: 0.938 MB / 0.9089 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006297/1.372, allocations: 234.5 kB / 0.9092 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/1.372, allocations: 9.219 kB / 0.9092 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/1.372, allocations: 73.05 kB / 0.9092 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.373, allocations: 33.86 kB / 0.9093 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/1.373, allocations: 13.36 kB / 0.9093 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001618/1.374, allocations: 0.8304 MB / 0.9101 GB, free: 180 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.61e-07/1.374, allocations: 0 / 0.9101 GB, free: 180 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002438/1.377, allocations: 0.5091 MB / 0.9106 GB, free: 180 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (25): * 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): 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.0007078/1.377, allocations: 194.8 kB / 0.9108 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002931/1.38, allocations: 1.132 MB / 0.9119 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.38, allocations: 0 / 0.9119 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005983/1.381, allocations: 247.4 kB / 0.9121 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/1.385, allocations: 0.6487 MB / 0.9128 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/1.389, allocations: 2.103 MB / 0.9148 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.39, allocations: 1.236 MB / 0.916 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001639/1.392, allocations: 359.4 kB / 0.9164 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/1.392, allocations: 71.83 kB / 0.9164 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.774e-06/1.392, allocations: 0 / 0.9164 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.03494/1.427, allocations: 20.84 MB / 0.9368 GB, free: 162.9 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: