Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7733/0.7733, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 186.3 kB / 187.3 MB, free: 11.88 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.653/1.653, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0009711/0.000971, allocations: 95.12 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001872, allocations: 283.1 kB / 0.594 GB, free: 7.93 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.398e-05/4.401e-05, allocations: 8 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4948, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.381/5.876, allocations: 1.832 GB / 2.597 GB, free: 174.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/5.876, allocations: 98.2 kB / 2.597 GB, free: 174 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.304/13.18, allocations: 2.007 GB / 4.603 GB, free: 27.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/13.18, allocations: 8 kB / 4.603 GB, free: 27.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001199/13.18, allocations: 35.92 kB / 4.603 GB, free: 27.78 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003856/13.18, allocations: 1.264 MB / 4.604 GB, free: 26.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/13.18, allocations: 12.03 kB / 4.604 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/13.18, allocations: 198.3 kB / 4.605 GB, free: 26.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003801/13.19, allocations: 1.453 MB / 4.606 GB, free: 24.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.933e-05/13.19, allocations: 49.31 kB / 4.606 GB, free: 24.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/13.19, allocations: 68 kB / 4.606 GB, free: 24.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/13.19, allocations: 0.9226 MB / 4.607 GB, free: 23.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/13.19, allocations: 4 kB / 4.607 GB, free: 23.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/13.19, allocations: 24 kB / 4.607 GB, free: 23.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/13.19, allocations: 16 kB / 4.607 GB, free: 23.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008574/13.19, allocations: 0.6986 MB / 4.608 GB, free: 22.88 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.004199/13.2, allocations: 4.703 MB / 4.612 GB, free: 17.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/13.2, allocations: 3.971 MB / 4.616 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/13.2, allocations: 329.7 kB / 4.617 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/13.2, allocations: 198 kB / 4.617 GB, free: 12.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/13.2, allocations: 304.8 kB / 4.617 GB, free: 12.18 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005057/13.2, allocations: 31.67 kB / 4.617 GB, free: 12.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.385e-06/13.2, allocations: 0 / 4.617 GB, free: 12.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001297/13.2, allocations: 0.7617 MB / 4.618 GB, free: 11.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/13.2, allocations: 89.03 kB / 4.618 GB, free: 11.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/13.2, allocations: 1.032 MB / 4.619 GB, free: 10.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/13.2, allocations: 41.7 kB / 4.619 GB, free: 10.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/13.2, allocations: 0.5166 MB / 4.619 GB, free: 9.652 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/13.2, allocations: 126.2 kB / 4.62 GB, free: 9.527 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/13.2, allocations: 12 kB / 4.62 GB, free: 9.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/13.2, allocations: 326 kB / 4.62 GB, free: 9.191 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/13.2, allocations: 185 kB / 4.62 GB, free: 9.012 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/13.2, allocations: 0.5288 MB / 4.621 GB, free: 8.332 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/13.2, allocations: 311.4 kB / 4.621 GB, free: 8.023 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/13.2, allocations: 7.938 kB / 4.621 GB, free: 8.016 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00124/13.2, allocations: 0.963 MB / 4.622 GB, free: 7.035 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004471/13.2, allocations: 2.23 MB / 4.624 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/13.2, allocations: 4 kB / 4.624 GB, free: 4.637 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/13.2, allocations: 277.5 kB / 4.624 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/13.21, allocations: 79.81 kB / 4.624 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009044/13.21, allocations: 1.038 MB / 4.625 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/13.21, allocations: 107.8 kB / 4.625 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/13.21, allocations: 24 kB / 4.626 GB, free: 3.094 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/13.21, allocations: 4 kB / 4.626 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/13.21, allocations: 0.7722 MB / 4.626 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/13.21, allocations: 4 kB / 4.626 GB, free: 2.305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00054/13.21, allocations: 250.2 kB / 4.627 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/13.21, allocations: 87.78 kB / 4.627 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4679/13.68, allocations: 3.066 MB / 4.63 GB, free: 175 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/13.68, allocations: 100.2 kB / 4.63 GB, free: 175 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/13.68, allocations: 24.58 kB / 4.63 GB, free: 175 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002189/13.68, allocations: 143.8 kB / 4.63 GB, free: 174.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/13.68, allocations: 108.4 kB / 4.63 GB, free: 174.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/13.68, allocations: 0.7854 MB / 4.631 GB, free: 174.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/13.68, allocations: 4.469 kB / 4.631 GB, free: 174.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/13.68, allocations: 1.672 kB / 4.631 GB, free: 174.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/13.68, allocations: 3.281 kB / 4.631 GB, free: 174.9 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 postOpt removeSimpleEquations (simulation): time 0.003371/13.68, allocations: 2.144 MB / 4.633 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/13.68, allocations: 2.781 kB / 4.633 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/13.68, allocations: 53.34 kB / 4.633 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/13.69, allocations: 215.6 kB / 4.633 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/13.69, allocations: 10.23 kB / 4.633 GB, free: 174.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/13.69, allocations: 0.8682 MB / 4.634 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/13.69, allocations: 4.688 kB / 4.634 GB, free: 173.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/13.69, allocations: 0.9697 MB / 4.635 GB, free: 173.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/13.69, allocations: 235.4 kB / 4.635 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/13.69, allocations: 8.75 kB / 4.635 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007235/13.69, allocations: 85.08 kB / 4.635 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/13.69, allocations: 37.44 kB / 4.635 GB, free: 173 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/13.69, allocations: 14.66 kB / 4.635 GB, free: 173 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001331/13.69, allocations: 0.8182 MB / 4.636 GB, free: 172.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/13.69, allocations: 3.781 kB / 4.636 GB, free: 172.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001919/13.69, allocations: 0.607 MB / 4.637 GB, free: 172.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/13.69, allocations: 1.128 MB / 4.638 GB, free: 172.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001582/13.7, allocations: 1.132 MB / 4.639 GB, free: 172.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/13.7, allocations: 0 / 4.639 GB, free: 172.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/13.7, allocations: 238.8 kB / 4.639 GB, free: 172.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/13.7, allocations: 0.6439 MB / 4.64 GB, free: 172.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/13.7, allocations: 1.464 MB / 4.641 GB, free: 172 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/13.7, allocations: 1.239 MB / 4.642 GB, free: 171.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001797/13.7, allocations: 0.8042 MB / 4.643 GB, free: 171.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.238e-05/13.7, allocations: 49.5 kB / 4.643 GB, free: 171.2 MB / 0.698 GB Notification: Performance of SimCode: time 9.21e-07/13.7, allocations: 1.688 kB / 4.643 GB, free: 171.2 MB / 0.698 GB Notification: Performance of Templates: time 0.05066/13.75, allocations: 39.43 MB / 4.682 GB, free: 170.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)