Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8568/0.8568, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001211/0.001211, allocations: 176.7 kB / 191.5 MB, free: 5.754 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.665/1.665, allocations: 223.2 MB / 447.7 MB, free: 6.457 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.0009775/0.0009775, allocations: 96.25 kB / 0.5188 GB, free: 2.812 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001908, allocations: 278.8 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007965/0.0007962, allocations: 12 kB / 0.6929 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5182, allocations: 82.78 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.105/5.623, allocations: 1.83 GB / 2.603 GB, free: 195.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/5.624, allocations: 97.94 kB / 2.603 GB, free: 195.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.896/12.52, allocations: 1.802 GB / 4.405 GB, free: 191.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/12.52, allocations: 0 / 4.405 GB, free: 191.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001123/12.52, allocations: 33.61 kB / 4.405 GB, free: 191.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003148/12.52, allocations: 1.419 MB / 4.407 GB, free: 190.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/12.52, allocations: 7.875 kB / 4.407 GB, free: 190.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/12.52, allocations: 190.5 kB / 4.407 GB, free: 190.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/12.53, allocations: 1.09 MB / 4.408 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.671e-05/12.53, allocations: 43.44 kB / 4.408 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/12.53, allocations: 65.05 kB / 4.408 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/12.53, allocations: 0.7661 MB / 4.409 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/12.53, allocations: 4.625 kB / 4.409 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/12.53, allocations: 24.56 kB / 4.409 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/12.53, allocations: 14.53 kB / 4.409 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/12.53, allocations: 0.5148 MB / 4.409 GB, free: 190.1 MB / 0.698 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.004458/12.53, allocations: 4.588 MB / 4.414 GB, free: 186.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/12.53, allocations: 427.2 kB / 4.414 GB, free: 186.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/12.53, allocations: 192.4 kB / 4.414 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/12.53, allocations: 296.9 kB / 4.415 GB, free: 186.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.828e-06/12.53, allocations: 2.594 kB / 4.415 GB, free: 186.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001412/12.54, allocations: 0.6385 MB / 4.415 GB, free: 186.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/12.54, allocations: 91.77 kB / 4.415 GB, free: 186.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/12.54, allocations: 0.9866 MB / 4.416 GB, free: 186.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/12.54, allocations: 40.33 kB / 4.416 GB, free: 186.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/12.54, allocations: 489.4 kB / 4.417 GB, free: 185.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/12.54, allocations: 109.1 kB / 4.417 GB, free: 185.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/12.54, allocations: 11.66 kB / 4.417 GB, free: 185.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.56e-05/12.54, allocations: 322.9 kB / 4.417 GB, free: 185.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/12.54, allocations: 184.8 kB / 4.418 GB, free: 185.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/12.54, allocations: 0.5048 MB / 4.418 GB, free: 185.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004304/12.54, allocations: 293.1 kB / 4.418 GB, free: 185.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/12.54, allocations: 0 / 4.418 GB, free: 185.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001041/12.54, allocations: 0.6825 MB / 4.419 GB, free: 185.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006189/12.54, allocations: 2.134 MB / 4.421 GB, free: 182.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/12.54, allocations: 11.45 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/12.54, allocations: 10.52 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/12.54, allocations: 113.2 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/12.54, allocations: 9.312 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/12.54, allocations: 106.3 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/12.54, allocations: 33.73 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/12.54, allocations: 2.938 kB / 4.421 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008314/12.54, allocations: 0.5439 MB / 4.422 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/12.54, allocations: 5.906 kB / 4.422 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/12.54, allocations: 7.688 kB / 4.422 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/12.54, allocations: 107.1 kB / 4.422 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/12.54, allocations: 12.62 kB / 4.422 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/12.54, allocations: 97.98 kB / 4.422 GB, free: 182.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/12.54, allocations: 22.69 kB / 4.422 GB, free: 182.8 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 () * 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.0005768/12.54, allocations: 472.2 kB / 4.423 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/12.54, allocations: 100.6 kB / 4.423 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008953/12.55, allocations: 0.493 MB / 4.423 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/12.55, allocations: 7.75 kB / 4.423 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/12.55, allocations: 0 / 4.423 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/12.55, allocations: 2.781 kB / 4.423 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/12.55, allocations: 1.393 MB / 4.424 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/12.55, allocations: 0 / 4.424 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/12.55, allocations: 69.17 kB / 4.425 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/12.55, allocations: 9.688 kB / 4.425 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/12.55, allocations: 7.656 kB / 4.425 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/12.55, allocations: 9.422 kB / 4.425 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/12.55, allocations: 3.344 kB / 4.425 GB, free: 182 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/12.55, allocations: 0.6956 MB / 4.425 GB, free: 181.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/12.55, allocations: 216 kB / 4.425 GB, free: 181.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/12.55, allocations: 9.734 kB / 4.425 GB, free: 181.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/12.55, allocations: 66.36 kB / 4.426 GB, free: 181.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/12.55, allocations: 25.56 kB / 4.426 GB, free: 181.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/12.55, allocations: 19.06 kB / 4.426 GB, free: 181.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009135/12.55, allocations: 0.7781 MB / 4.426 GB, free: 181.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/12.55, allocations: 0 / 4.426 GB, free: 181.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001515/12.55, allocations: 477.6 kB / 4.427 GB, free: 181.4 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) * 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.0015/12.55, allocations: 0.9083 MB / 4.428 GB, free: 181.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001322/12.56, allocations: 0.8085 MB / 4.428 GB, free: 181.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/12.56, allocations: 0 / 4.428 GB, free: 181.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/12.56, allocations: 208.2 kB / 4.429 GB, free: 181.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/12.56, allocations: 456.7 kB / 4.429 GB, free: 181.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/12.56, allocations: 1.954 MB / 4.431 GB, free: 180.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/12.56, allocations: 1.197 MB / 4.432 GB, free: 179.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001084/12.56, allocations: 429.3 kB / 4.433 GB, free: 179.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/12.56, allocations: 75.31 kB / 4.433 GB, free: 179.5 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/12.56, allocations: 0 / 4.433 GB, free: 179.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04277/12.6, allocations: 26.74 MB / 4.459 GB, free: 178.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)