Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6867/0.6867, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 177.5 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 394.8 MB, free: 20.92 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008883/0.0008887, allocations: 93.47 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 12 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3795, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.878/5.257, allocations: 2.138 GB / 2.753 GB, free: 245.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/5.257, allocations: 101 kB / 2.753 GB, free: 245.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.351/11.61, allocations: 1.757 GB / 4.51 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.518e-06/11.61, allocations: 0 / 4.51 GB, free: 164.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002124/11.61, allocations: 36.95 kB / 4.51 GB, free: 164.8 MB / 0.6355 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.004639/11.61, allocations: 1.41 MB / 4.512 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/11.61, allocations: 11.09 kB / 4.512 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/11.62, allocations: 185.8 kB / 4.512 GB, free: 164.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003318/11.62, allocations: 1.143 MB / 4.513 GB, free: 163.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/11.62, allocations: 45.25 kB / 4.513 GB, free: 163.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/11.62, allocations: 61 kB / 4.513 GB, free: 163.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/11.62, allocations: 1.242 MB / 4.514 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/11.62, allocations: 6 kB / 4.515 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/11.62, allocations: 23.44 kB / 4.515 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/11.62, allocations: 11.78 kB / 4.515 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/11.63, allocations: 0.998 MB / 4.516 GB, free: 163.5 MB / 0.6355 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.005238/11.63, allocations: 4.429 MB / 4.52 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/11.63, allocations: 0.9321 MB / 4.521 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/11.63, allocations: 241.1 kB / 4.521 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/11.63, allocations: 194.5 kB / 4.521 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002448/11.64, allocations: 0.7785 MB / 4.522 GB, free: 160 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.865e-06/11.64, allocations: 0 / 4.522 GB, free: 160 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.005686/11.64, allocations: 1.589 MB / 4.523 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/11.64, allocations: 80.7 kB / 4.524 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/11.65, allocations: 1.106 MB / 4.525 GB, free: 159.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001252/11.65, allocations: 33.14 kB / 4.525 GB, free: 159.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004654/11.65, allocations: 0.5002 MB / 4.525 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/11.65, allocations: 105.2 kB / 4.525 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/11.65, allocations: 10.81 kB / 4.525 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001021/11.65, allocations: 325.2 kB / 4.526 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/11.65, allocations: 372.7 kB / 4.526 GB, free: 159.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/11.65, allocations: 0.6725 MB / 4.527 GB, free: 158.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/11.65, allocations: 0.8994 MB / 4.527 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/11.65, allocations: 3.938 kB / 4.527 GB, free: 158.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.003339/11.65, allocations: 1.02 MB / 4.528 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/11.65, allocations: 264.7 kB / 4.529 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/11.65, allocations: 3.906 kB / 4.529 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-05/11.65, allocations: 7.781 kB / 4.529 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/11.66, allocations: 192.2 kB / 4.529 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/11.66, allocations: 10.28 kB / 4.529 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/11.66, allocations: 182.9 kB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/11.66, allocations: 29.52 kB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/11.66, allocations: 7.375 kB / 4.529 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001606/11.66, allocations: 0.5295 MB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/11.66, allocations: 3.812 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/11.66, allocations: 10.78 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/11.66, allocations: 100.8 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/11.66, allocations: 14.53 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/11.66, allocations: 92.19 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/11.66, allocations: 27.19 kB / 4.53 GB, free: 158.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (52): * Single equations (assignments): 51 * 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.001275/11.66, allocations: 472.6 kB / 4.53 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/11.67, allocations: 98.19 kB / 4.53 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/11.67, allocations: 117.1 kB / 4.531 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/11.67, allocations: 3.844 kB / 4.531 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/11.67, allocations: 0 / 4.531 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.416e-05/11.67, allocations: 7.375 kB / 4.531 GB, free: 157.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/11.67, allocations: 1.868 MB / 4.532 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/11.67, allocations: 7.094 kB / 4.532 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/11.67, allocations: 140.7 kB / 4.533 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/11.67, allocations: 6.75 kB / 4.533 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/11.67, allocations: 10.09 kB / 4.533 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/11.67, allocations: 7.125 kB / 4.533 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/11.67, allocations: 3.875 kB / 4.533 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/11.68, allocations: 0.9546 MB / 4.533 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000902/11.68, allocations: 172.8 kB / 4.534 GB, free: 157 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000581/11.68, allocations: 15 kB / 4.534 GB, free: 157 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/11.68, allocations: 130.8 kB / 4.534 GB, free: 157 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/11.68, allocations: 32.95 kB / 4.534 GB, free: 157 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/11.68, allocations: 10.78 kB / 4.534 GB, free: 157 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002337/11.68, allocations: 0.7802 MB / 4.535 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/11.68, allocations: 0 / 4.535 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003353/11.69, allocations: 491.1 kB / 4.535 GB, free: 156.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 28 * 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.002284/11.69, allocations: 0.8994 MB / 4.536 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004138/11.69, allocations: 1.174 MB / 4.537 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/11.69, allocations: 0 / 4.537 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/11.7, allocations: 382.9 kB / 4.537 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/11.7, allocations: 467.7 kB / 4.538 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/11.71, allocations: 2.151 MB / 4.54 GB, free: 155.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/11.71, allocations: 1.175 MB / 4.541 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00303/11.71, allocations: 430.7 kB / 4.542 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/11.71, allocations: 87.39 kB / 4.542 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of SimCode: time 2.455e-06/11.71, allocations: 0 / 4.542 GB, free: 154.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.07865/11.79, allocations: 29.83 MB / 4.571 GB, free: 132.2 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)