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 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.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 1.077/1.077, allocations: 140.1 MB / 156 MB, free: 5.172 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.002749/0.002749, allocations: 187.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 426.3 MB, free: 8.449 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.001002/0.001003, allocations: 97.91 kB / 0.4945 GB, free: 8.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00185/0.00185, allocations: 277.4 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005352/0.0005355, allocations: 16 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4771, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.423/5.9, allocations: 2.036 GB / 2.776 GB, free: 177.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/5.9, allocations: 95.94 kB / 2.776 GB, free: 177.3 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.458/13.36, allocations: 1.796 GB / 4.572 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.785e-06/13.36, allocations: 0 / 4.572 GB, free: 127.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002028/13.36, allocations: 32.77 kB / 4.572 GB, free: 127.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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004008/13.36, allocations: 1.431 MB / 4.574 GB, free: 126.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/13.36, allocations: 12.03 kB / 4.574 GB, free: 126.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/13.36, allocations: 183.4 kB / 4.574 GB, free: 126.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/13.37, allocations: 1.148 MB / 4.575 GB, free: 125 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/13.37, allocations: 53.31 kB / 4.575 GB, free: 124.9 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/13.37, allocations: 60.38 kB / 4.575 GB, free: 124.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/13.37, allocations: 0.7698 MB / 4.576 GB, free: 124 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/13.37, allocations: 3.938 kB / 4.576 GB, free: 124 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/13.37, allocations: 24 kB / 4.576 GB, free: 124 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/13.37, allocations: 12 kB / 4.576 GB, free: 124 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008669/13.37, allocations: 0.515 MB / 4.576 GB, free: 123.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 preOpt removeSimpleEquations (simulation): time 0.00431/13.37, allocations: 4.587 MB / 4.581 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/13.37, allocations: 419.2 kB / 4.581 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/13.37, allocations: 245.6 kB / 4.581 GB, free: 117.8 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/13.38, allocations: 198.2 kB / 4.582 GB, free: 117.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/13.38, allocations: 285.9 kB / 4.582 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/13.38, allocations: 3.938 kB / 4.582 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.003735/13.38, allocations: 1.341 MB / 4.583 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/13.38, allocations: 89.11 kB / 4.583 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/13.38, allocations: 1.11 MB / 4.584 GB, free: 114.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/13.38, allocations: 37.7 kB / 4.584 GB, free: 114.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/13.38, allocations: 496.1 kB / 4.585 GB, free: 114.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/13.38, allocations: 114.5 kB / 4.585 GB, free: 114 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/13.38, allocations: 4 kB / 4.585 GB, free: 114 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/13.38, allocations: 326 kB / 4.585 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/13.38, allocations: 184.7 kB / 4.585 GB, free: 113.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004987/13.38, allocations: 0.5085 MB / 4.586 GB, free: 112.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/13.38, allocations: 0.5839 MB / 4.587 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/13.38, allocations: 7.938 kB / 4.587 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002044/13.39, allocations: 0.9715 MB / 4.588 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/13.39, allocations: 276.1 kB / 4.588 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/13.39, allocations: 7.938 kB / 4.588 GB, free: 110.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/13.39, allocations: 328.3 kB / 4.588 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/13.39, allocations: 64.19 kB / 4.588 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008523/13.39, allocations: 1.006 MB / 4.589 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/13.39, allocations: 111.4 kB / 4.589 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/13.39, allocations: 24 kB / 4.589 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/13.39, allocations: 4 kB / 4.589 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00122/13.39, allocations: 0.7399 MB / 4.59 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/13.39, allocations: 8.062 kB / 4.59 GB, free: 108.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/13.39, allocations: 207.6 kB / 4.59 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/13.39, allocations: 71.84 kB / 4.59 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/13.39, allocations: 3.087 MB / 4.593 GB, free: 105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/13.39, allocations: 91.59 kB / 4.593 GB, free: 104.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/13.39, allocations: 24 kB / 4.593 GB, free: 104.9 MB / 0.6667 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 (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.0006314/13.4, allocations: 468.7 kB / 4.594 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/13.4, allocations: 102.7 kB / 4.594 GB, free: 104.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/13.4, allocations: 0.7256 MB / 4.595 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/13.4, allocations: 4 kB / 4.595 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/13.4, allocations: 3.938 kB / 4.595 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/13.4, allocations: 0 / 4.595 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/13.4, allocations: 1.609 MB / 4.596 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/13.4, allocations: 4 kB / 4.596 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/13.4, allocations: 24.2 kB / 4.596 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/13.4, allocations: 219 kB / 4.596 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/13.4, allocations: 7.938 kB / 4.596 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006747/13.4, allocations: 0.97 MB / 4.597 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/13.4, allocations: 7.969 kB / 4.597 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/13.4, allocations: 0.8416 MB / 4.598 GB, free: 99.77 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/13.4, allocations: 223.8 kB / 4.598 GB, free: 99.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/13.4, allocations: 11.94 kB / 4.598 GB, free: 99.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/13.4, allocations: 55.8 kB / 4.599 GB, free: 99.47 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/13.4, allocations: 27.95 kB / 4.599 GB, free: 99.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/13.4, allocations: 12 kB / 4.599 GB, free: 99.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009498/13.4, allocations: 0.7877 MB / 4.599 GB, free: 98.63 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/13.4, allocations: 0 / 4.599 GB, free: 98.63 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001734/13.41, allocations: 0.5114 MB / 4.6 GB, free: 98.12 MB / 0.6667 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 (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.001626/13.41, allocations: 0.9689 MB / 4.601 GB, free: 97.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002031/13.41, allocations: 1.06 MB / 4.602 GB, free: 96.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/13.41, allocations: 8.062 kB / 4.602 GB, free: 96.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/13.41, allocations: 226.6 kB / 4.602 GB, free: 95.82 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/13.41, allocations: 464 kB / 4.602 GB, free: 95.38 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/13.42, allocations: 1.979 MB / 4.604 GB, free: 93.34 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/13.42, allocations: 1.181 MB / 4.606 GB, free: 92.13 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009977/13.42, allocations: 327.8 kB / 4.606 GB, free: 91.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/13.42, allocations: 59.44 kB / 4.606 GB, free: 91.75 MB / 0.6667 GB Notification: Performance of SimCode: time 6.31e-07/13.42, allocations: 0 / 4.606 GB, free: 91.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.04669/13.46, allocations: 30.02 MB / 4.635 GB, free: 61.84 MB / 0.6667 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)