Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8219/0.8219, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001191/0.001191, allocations: 181 kB / 191.5 MB, free: 5.766 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.53/1.53, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.001402/0.001403, allocations: 84.33 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 276.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 13.88 kB / 0.6929 GB, free: 59.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1788, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.803/4.982, allocations: 1.832 GB / 2.606 GB, free: 245.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/4.982, allocations: 97.22 kB / 2.606 GB, free: 245.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.711/11.69, allocations: 1.816 GB / 4.422 GB, free: 105.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.354e-06/11.69, allocations: 0 / 4.422 GB, free: 105.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001152/11.69, allocations: 27.98 kB / 4.422 GB, free: 105.5 MB / 0.7136 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.004594/11.7, allocations: 1.529 MB / 4.423 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/11.7, allocations: 8.031 kB / 4.423 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/11.7, allocations: 182.5 kB / 4.424 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/11.7, allocations: 1.42 MB / 4.425 GB, free: 102.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.344e-05/11.7, allocations: 45 kB / 4.425 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/11.7, allocations: 63.95 kB / 4.425 GB, free: 102.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/11.7, allocations: 0.7849 MB / 4.426 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/11.7, allocations: 7.938 kB / 4.426 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/11.7, allocations: 20 kB / 4.426 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/11.7, allocations: 16 kB / 4.426 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007608/11.7, allocations: 0.5383 MB / 4.426 GB, free: 100.7 MB / 0.7136 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.00369/11.71, allocations: 4.224 MB / 4.431 GB, free: 96.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/11.71, allocations: 414.3 kB / 4.431 GB, free: 95.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/11.71, allocations: 194.2 kB / 4.431 GB, free: 95.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/11.71, allocations: 323.6 kB / 4.431 GB, free: 95.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003685/11.71, allocations: 35.77 kB / 4.431 GB, free: 95.22 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.837e-06/11.71, allocations: 4 kB / 4.431 GB, free: 95.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001258/11.71, allocations: 0.6781 MB / 4.432 GB, free: 94.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/11.71, allocations: 85.11 kB / 4.432 GB, free: 94.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/11.71, allocations: 1.024 MB / 4.433 GB, free: 93.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/11.71, allocations: 33.7 kB / 4.433 GB, free: 93.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/11.71, allocations: 484.9 kB / 4.434 GB, free: 92.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/11.71, allocations: 118.3 kB / 4.434 GB, free: 92.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/11.71, allocations: 12.11 kB / 4.434 GB, free: 92.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/11.71, allocations: 325.9 kB / 4.434 GB, free: 92.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/11.71, allocations: 201 kB / 4.434 GB, free: 92.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/11.71, allocations: 0.5178 MB / 4.435 GB, free: 91.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/11.71, allocations: 314.1 kB / 4.435 GB, free: 91.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/11.71, allocations: 0 / 4.435 GB, free: 91.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009912/11.71, allocations: 0.7125 MB / 4.436 GB, free: 90.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006211/11.72, allocations: 2.137 MB / 4.438 GB, free: 88.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/11.72, allocations: 4 kB / 4.438 GB, free: 88.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/11.72, allocations: 8 kB / 4.438 GB, free: 88.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/11.72, allocations: 127.8 kB / 4.438 GB, free: 88.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/11.72, allocations: 15.88 kB / 4.438 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009576/11.72, allocations: 87.81 kB / 4.438 GB, free: 87.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/11.72, allocations: 24 kB / 4.438 GB, free: 87.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/11.72, allocations: 4 kB / 4.438 GB, free: 87.96 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008067/11.72, allocations: 0.558 MB / 4.439 GB, free: 87.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/11.72, allocations: 8 kB / 4.439 GB, free: 87.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/11.72, allocations: 16.05 kB / 4.439 GB, free: 87.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/11.72, allocations: 107.8 kB / 4.439 GB, free: 87.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/11.72, allocations: 19.88 kB / 4.439 GB, free: 87.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/11.72, allocations: 91.75 kB / 4.439 GB, free: 87.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/11.72, allocations: 20 kB / 4.439 GB, free: 87.14 MB / 0.7136 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 (55): * Single equations (assignments): 54 * 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.0006144/11.72, allocations: 478.9 kB / 4.439 GB, free: 86.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/11.72, allocations: 102.8 kB / 4.44 GB, free: 86.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008769/11.72, allocations: 0.5271 MB / 4.44 GB, free: 86.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/11.72, allocations: 8 kB / 4.44 GB, free: 86.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/11.72, allocations: 3.953 kB / 4.44 GB, free: 86.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/11.72, allocations: 3.984 kB / 4.44 GB, free: 86.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/11.72, allocations: 1.468 MB / 4.441 GB, free: 84.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/11.72, allocations: 4 kB / 4.441 GB, free: 84.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/11.72, allocations: 84.03 kB / 4.442 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/11.72, allocations: 4 kB / 4.442 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/11.72, allocations: 8 kB / 4.442 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/11.72, allocations: 4 kB / 4.442 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/11.72, allocations: 0 / 4.442 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008186/11.72, allocations: 0.7312 MB / 4.442 GB, free: 83.56 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/11.72, allocations: 227.8 kB / 4.443 GB, free: 83.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/11.72, allocations: 11.98 kB / 4.443 GB, free: 83.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/11.73, allocations: 67.77 kB / 4.443 GB, free: 83.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/11.73, allocations: 36.11 kB / 4.443 GB, free: 83.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/11.73, allocations: 19.98 kB / 4.443 GB, free: 83.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009034/11.73, allocations: 0.812 MB / 4.443 GB, free: 82.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/11.73, allocations: 0 / 4.443 GB, free: 82.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001505/11.73, allocations: 491.7 kB / 4.444 GB, free: 81.89 MB / 0.7136 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 (33): * Single equations (assignments): 31 * 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.001487/11.73, allocations: 0.9755 MB / 4.445 GB, free: 80.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001286/11.73, allocations: 0.867 MB / 4.446 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/11.73, allocations: 3.938 kB / 4.446 GB, free: 80.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/11.73, allocations: 229.5 kB / 4.446 GB, free: 79.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/11.73, allocations: 0.6335 MB / 4.447 GB, free: 79.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/11.74, allocations: 1.98 MB / 4.448 GB, free: 77.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/11.74, allocations: 1.201 MB / 4.45 GB, free: 75.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00114/11.74, allocations: 404.2 kB / 4.45 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/11.74, allocations: 75.42 kB / 4.45 GB, free: 75.44 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/11.74, allocations: 4 kB / 4.45 GB, free: 75.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.04323/11.78, allocations: 29.98 MB / 4.479 GB, free: 45.67 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)