Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.00156, allocations: 173.1 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.6367 GB, free: 8.582 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009049/0.0009048, allocations: 84.12 kB / 0.751 GB, free: 63.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3444, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.708/6.052, allocations: 2.065 GB / 3.053 GB, free: 156.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/6.052, allocations: 97.28 kB / 3.053 GB, free: 156.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.868/12.92, allocations: 1.789 GB / 4.842 GB, free: 171.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.696e-06/12.92, allocations: 3.938 kB / 4.842 GB, free: 171.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002124/12.92, allocations: 34.2 kB / 4.842 GB, free: 171.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004569/12.93, allocations: 1.419 MB / 4.843 GB, free: 170.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/12.93, allocations: 11.03 kB / 4.843 GB, free: 170.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/12.93, allocations: 195.7 kB / 4.843 GB, free: 170.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/12.93, allocations: 1.084 MB / 4.844 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/12.93, allocations: 43.66 kB / 4.844 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/12.93, allocations: 57.75 kB / 4.844 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/12.93, allocations: 0.7647 MB / 4.845 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/12.93, allocations: 11.45 kB / 4.845 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/12.93, allocations: 22.5 kB / 4.845 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/12.93, allocations: 12.69 kB / 4.845 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009296/12.93, allocations: 0.5147 MB / 4.846 GB, free: 169 MB / 0.948 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.005166/12.94, allocations: 4.589 MB / 4.85 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/12.94, allocations: 428.4 kB / 4.85 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/12.94, allocations: 196.3 kB / 4.851 GB, free: 164.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005118/12.94, allocations: 288.6 kB / 4.851 GB, free: 164.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/12.94, allocations: 224 / 4.851 GB, free: 164.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001658/12.94, allocations: 0.6406 MB / 4.852 GB, free: 163.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/12.94, allocations: 84.89 kB / 4.852 GB, free: 163.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/12.94, allocations: 0.9947 MB / 4.853 GB, free: 163.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/12.94, allocations: 36.17 kB / 4.853 GB, free: 163.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/12.94, allocations: 491.8 kB / 4.853 GB, free: 162.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/12.94, allocations: 111.8 kB / 4.853 GB, free: 162.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/12.94, allocations: 11.94 kB / 4.853 GB, free: 162.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/12.94, allocations: 328.4 kB / 4.854 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/12.94, allocations: 182.9 kB / 4.854 GB, free: 162.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/12.94, allocations: 0.5031 MB / 4.854 GB, free: 161.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/12.95, allocations: 292.5 kB / 4.854 GB, free: 161.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/12.95, allocations: 0 / 4.854 GB, free: 161.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001186/12.95, allocations: 0.6908 MB / 4.855 GB, free: 161.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005301/12.95, allocations: 2.129 MB / 4.857 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/12.95, allocations: 3.438 kB / 4.857 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/12.95, allocations: 14.86 kB / 4.857 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/12.95, allocations: 108.1 kB / 4.857 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/12.95, allocations: 9.906 kB / 4.857 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/12.95, allocations: 108.7 kB / 4.857 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/12.95, allocations: 26.59 kB / 4.857 GB, free: 158.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/12.95, allocations: 2.625 kB / 4.857 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008009/12.95, allocations: 0.5382 MB / 4.858 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/12.95, allocations: 3.969 kB / 4.858 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/12.95, allocations: 11.94 kB / 4.858 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/12.95, allocations: 107.1 kB / 4.858 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/12.95, allocations: 15.45 kB / 4.858 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/12.95, allocations: 97.08 kB / 4.858 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/12.95, allocations: 26.3 kB / 4.858 GB, free: 158.4 MB / 0.948 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005932/12.95, allocations: 467.5 kB / 4.859 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/12.95, allocations: 106.2 kB / 4.859 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/12.95, allocations: 0.5027 MB / 4.859 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/12.95, allocations: 3.594 kB / 4.859 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/12.95, allocations: 0 / 4.859 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/12.95, allocations: 7.812 kB / 4.859 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/12.95, allocations: 1.383 MB / 4.861 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/12.95, allocations: 4 kB / 4.861 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/12.95, allocations: 71.89 kB / 4.861 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/12.95, allocations: 4 kB / 4.861 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/12.95, allocations: 8.219 kB / 4.861 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/12.95, allocations: 11.95 kB / 4.861 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/12.95, allocations: 7.938 kB / 4.861 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/12.96, allocations: 0.6955 MB / 4.861 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/12.96, allocations: 211.8 kB / 4.862 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/12.96, allocations: 11.95 kB / 4.862 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/12.96, allocations: 59.78 kB / 4.862 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/12.96, allocations: 31.91 kB / 4.862 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/12.96, allocations: 15.98 kB / 4.862 GB, free: 155.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009357/12.96, allocations: 0.7836 MB / 4.863 GB, free: 154.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.81e-07/12.96, allocations: 0 / 4.863 GB, free: 154.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001669/12.96, allocations: 471.7 kB / 4.863 GB, free: 154.2 MB / 0.948 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/12.96, allocations: 0.9113 MB / 4.864 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001312/12.96, allocations: 0.8056 MB / 4.865 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/12.96, allocations: 0 / 4.865 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/12.96, allocations: 212 kB / 4.865 GB, free: 152.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/12.96, allocations: 453.6 kB / 4.865 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/12.97, allocations: 1.956 MB / 4.867 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/12.97, allocations: 1.203 MB / 4.868 GB, free: 148.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001254/12.97, allocations: 423.6 kB / 4.869 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/12.97, allocations: 71.42 kB / 4.869 GB, free: 148.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/12.97, allocations: 4 kB / 4.869 GB, free: 148.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03893/13.01, allocations: 26.71 MB / 4.895 GB, free: 121.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)