Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8058/0.8058, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.9 kB / 182.2 MB, free: 9.438 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.484/1.484, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.00103/0.00103, allocations: 97.66 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 270.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.216e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4939/0.494, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.676/5.17, allocations: 1.831 GB / 2.589 GB, free: 186.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/5.171, allocations: 91 kB / 2.589 GB, free: 186.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.734/10.9, allocations: 1.794 GB / 4.383 GB, free: 5.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.413e-06/10.9, allocations: 0 / 4.383 GB, free: 5.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001686/10.9, allocations: 31.98 kB / 4.383 GB, free: 5.289 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002474/10.91, allocations: 1.149 MB / 4.384 GB, free: 4.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/10.91, allocations: 8.031 kB / 4.384 GB, free: 4.078 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/10.91, allocations: 182.4 kB / 4.384 GB, free: 3.898 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/10.91, allocations: 1.104 MB / 4.386 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/10.91, allocations: 16 kB / 4.386 GB, free: 2.723 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/10.91, allocations: 36 kB / 4.386 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000692/10.91, allocations: 466.3 kB / 4.386 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007402/10.91, allocations: 0.6727 MB / 4.387 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/10.91, allocations: 7.938 kB / 4.387 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/10.91, allocations: 0 / 4.387 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/10.91, allocations: 16 kB / 4.387 GB, free: 1.457 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.4277/11.34, allocations: 4.463 MB / 4.391 GB, free: 190.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/11.34, allocations: 437.8 kB / 4.391 GB, free: 190.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/11.34, allocations: 238.9 kB / 4.392 GB, free: 190.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/11.34, allocations: 198.6 kB / 4.392 GB, free: 190.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/11.34, allocations: 258.9 kB / 4.392 GB, free: 190.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/11.34, allocations: 0 / 4.392 GB, free: 190.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001992/11.34, allocations: 0.7503 MB / 4.393 GB, free: 190.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/11.34, allocations: 90.38 kB / 4.393 GB, free: 190.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/11.35, allocations: 0.8492 MB / 4.394 GB, free: 190.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/11.35, allocations: 28.8 kB / 4.394 GB, free: 190.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/11.35, allocations: 494.4 kB / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/11.35, allocations: 103.7 kB / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/11.35, allocations: 0 / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.837e-05/11.35, allocations: 328.8 kB / 4.395 GB, free: 189.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/11.35, allocations: 178.5 kB / 4.395 GB, free: 189.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/11.35, allocations: 497.8 kB / 4.395 GB, free: 189.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/11.35, allocations: 269.2 kB / 4.396 GB, free: 189.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/11.35, allocations: 1.312 kB / 4.396 GB, free: 189.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001687/11.35, allocations: 0.8835 MB / 4.396 GB, free: 189.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003806/11.35, allocations: 2.129 MB / 4.399 GB, free: 187.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/11.35, allocations: 9.719 kB / 4.399 GB, free: 187.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/11.35, allocations: 218.4 kB / 4.399 GB, free: 187.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/11.35, allocations: 65.5 kB / 4.399 GB, free: 187.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009246/11.35, allocations: 1.102 MB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/11.35, allocations: 90.39 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/11.35, allocations: 27 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/11.35, allocations: 3.625 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009652/11.35, allocations: 0.594 MB / 4.401 GB, free: 186.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/11.35, allocations: 3.344 kB / 4.401 GB, free: 186.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/11.35, allocations: 199.2 kB / 4.401 GB, free: 186.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/11.35, allocations: 64.12 kB / 4.401 GB, free: 186.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/11.36, allocations: 2.972 MB / 4.404 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/11.36, allocations: 81.5 kB / 4.404 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/11.36, allocations: 22 kB / 4.404 GB, free: 185.1 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0001599/11.36, allocations: 121.6 kB / 4.404 GB, free: 185 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/11.36, allocations: 98 kB / 4.404 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/11.36, allocations: 0.6484 MB / 4.405 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/11.36, allocations: 3.531 kB / 4.405 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/11.36, allocations: 1.25 kB / 4.405 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/11.36, allocations: 3.797 kB / 4.405 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/11.36, allocations: 1.479 MB / 4.406 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/11.36, allocations: 3.938 kB / 4.406 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/11.36, allocations: 26.73 kB / 4.406 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/11.36, allocations: 181.2 kB / 4.406 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/11.36, allocations: 3.844 kB / 4.406 GB, free: 184.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006636/11.36, allocations: 0.987 MB / 4.407 GB, free: 183.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/11.36, allocations: 6.844 kB / 4.407 GB, free: 183.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/11.36, allocations: 0.8487 MB / 4.408 GB, free: 183.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/11.36, allocations: 215.5 kB / 4.408 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.373e-05/11.36, allocations: 4.812 kB / 4.408 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/11.36, allocations: 55.14 kB / 4.408 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/11.36, allocations: 33.38 kB / 4.408 GB, free: 183.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/11.36, allocations: 15.62 kB / 4.408 GB, free: 183.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001033/11.36, allocations: 0.6679 MB / 4.409 GB, free: 183.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/11.36, allocations: 0 / 4.409 GB, free: 183.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00169/11.37, allocations: 487.6 kB / 4.41 GB, free: 183.2 MB / 0.698 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/11.37, allocations: 1.09 MB / 4.411 GB, free: 183 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001453/11.37, allocations: 0.9929 MB / 4.412 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/11.37, allocations: 0 / 4.412 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/11.37, allocations: 203 kB / 4.412 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/11.37, allocations: 396.7 kB / 4.412 GB, free: 182.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/11.37, allocations: 1.326 MB / 4.413 GB, free: 182.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/11.37, allocations: 1.203 MB / 4.415 GB, free: 181.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001524/11.38, allocations: 0.6495 MB / 4.415 GB, free: 181.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/11.38, allocations: 42.03 kB / 4.415 GB, free: 181.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/11.38, allocations: 0 / 4.415 GB, free: 181.6 MB / 0.698 GB Notification: Performance of Templates: time 0.03022/11.41, allocations: 22.41 MB / 4.437 GB, free: 181.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)