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.8411/0.8411, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001087/0.001087, allocations: 180.9 kB / 182.2 MB, free: 9.441 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.446/1.446, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009199/0.00092, allocations: 96.11 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 266.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.577e-05/1.578e-05, allocations: 4 kB / 0.6765 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4562/0.4563, allocations: 82.77 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.686/5.142, allocations: 1.831 GB / 2.589 GB, free: 186.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/5.143, allocations: 95.31 kB / 2.589 GB, free: 186.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.177/11.32, allocations: 1.796 GB / 4.385 GB, free: 3.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/11.32, allocations: 0 / 4.385 GB, free: 3.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.737e-05/11.32, allocations: 27.98 kB / 4.385 GB, free: 3.395 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003253/11.32, allocations: 1.239 MB / 4.386 GB, free: 2.098 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/11.32, allocations: 8.031 kB / 4.386 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008621/11.32, allocations: 190.4 kB / 4.386 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/11.33, allocations: 1.409 MB / 4.388 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/11.33, allocations: 16 kB / 4.388 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/11.33, allocations: 36 kB / 4.388 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4213/11.75, allocations: 487.7 kB / 4.388 GB, free: 193.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/11.75, allocations: 0.6951 MB / 4.389 GB, free: 193.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/11.75, allocations: 2.031 kB / 4.389 GB, free: 193.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/11.75, allocations: 9.344 kB / 4.389 GB, free: 193.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/11.75, allocations: 14 kB / 4.389 GB, free: 193.1 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.004028/11.75, allocations: 4.078 MB / 4.393 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/11.75, allocations: 440 kB / 4.393 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/11.75, allocations: 317.9 kB / 4.394 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002949/11.76, allocations: 194.4 kB / 4.394 GB, free: 190.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004945/11.76, allocations: 277.8 kB / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000369/11.76, allocations: 16.22 kB / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.035e-06/11.76, allocations: 1.188 kB / 4.394 GB, free: 190.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001242/11.76, allocations: 0.5133 MB / 4.395 GB, free: 190.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/11.76, allocations: 85.55 kB / 4.395 GB, free: 190 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/11.76, allocations: 0.8461 MB / 4.396 GB, free: 189.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/11.76, allocations: 29.81 kB / 4.396 GB, free: 189.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/11.76, allocations: 488.1 kB / 4.396 GB, free: 189.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/11.76, allocations: 117.5 kB / 4.396 GB, free: 189.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/11.76, allocations: 1.594 kB / 4.396 GB, free: 189.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/11.76, allocations: 323.1 kB / 4.396 GB, free: 189.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/11.76, allocations: 192.6 kB / 4.397 GB, free: 189.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/11.76, allocations: 0.5057 MB / 4.397 GB, free: 188.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/11.76, allocations: 287 kB / 4.397 GB, free: 188.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/11.76, allocations: 7.859 kB / 4.397 GB, free: 188.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008644/11.76, allocations: 0.6276 MB / 4.398 GB, free: 188.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004186/11.76, allocations: 2.126 MB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/11.76, allocations: 7.781 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/11.76, allocations: 10.19 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/11.76, allocations: 117.4 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/11.76, allocations: 17.59 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/11.76, allocations: 74.22 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.571e-05/11.76, allocations: 28.03 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/11.76, allocations: 4.25 kB / 4.4 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006139/11.76, allocations: 450.6 kB / 4.401 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/11.76, allocations: 7.812 kB / 4.401 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/11.76, allocations: 8.5 kB / 4.401 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/11.76, allocations: 113.6 kB / 4.401 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/11.76, allocations: 11.66 kB / 4.401 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/11.76, allocations: 81.17 kB / 4.401 GB, free: 186.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/11.77, allocations: 22.06 kB / 4.401 GB, free: 186.6 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 () * 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.0001147/11.77, allocations: 126.9 kB / 4.401 GB, free: 186.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/11.77, allocations: 101.1 kB / 4.401 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/11.77, allocations: 479.4 kB / 4.402 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/11.77, allocations: 4.031 kB / 4.402 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/11.77, allocations: 0 / 4.402 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/11.77, allocations: 2.938 kB / 4.402 GB, free: 186.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/11.77, allocations: 1.337 MB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/11.77, allocations: 1.875 kB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/11.77, allocations: 74.44 kB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/11.77, allocations: 2.688 kB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/11.77, allocations: 11.83 kB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/11.77, allocations: 4.688 kB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/11.77, allocations: 2.625 kB / 4.403 GB, free: 186 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/11.77, allocations: 0.6669 MB / 4.404 GB, free: 185.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/11.77, allocations: 211.9 kB / 4.404 GB, free: 185.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/11.77, allocations: 7.734 kB / 4.404 GB, free: 185.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/11.77, allocations: 66.67 kB / 4.404 GB, free: 185.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/11.77, allocations: 37.42 kB / 4.404 GB, free: 185.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/11.77, allocations: 14.91 kB / 4.404 GB, free: 185.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006712/11.77, allocations: 0.6613 MB / 4.405 GB, free: 185.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/11.77, allocations: 2.031 kB / 4.405 GB, free: 185.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001279/11.77, allocations: 472 kB / 4.405 GB, free: 185.3 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) * 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.001633/11.77, allocations: 1.11 MB / 4.406 GB, free: 185.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001223/11.77, allocations: 0.8108 MB / 4.407 GB, free: 185 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/11.77, allocations: 1.156 kB / 4.407 GB, free: 185 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/11.78, allocations: 201.2 kB / 4.407 GB, free: 185 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/11.78, allocations: 0.5477 MB / 4.408 GB, free: 185 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/11.78, allocations: 1.344 MB / 4.409 GB, free: 184.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/11.78, allocations: 1.198 MB / 4.41 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001837/11.78, allocations: 0.7729 MB / 4.411 GB, free: 183.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/11.78, allocations: 52.55 kB / 4.411 GB, free: 183.9 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/11.78, allocations: 3.719 kB / 4.411 GB, free: 183.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03181/11.81, allocations: 21.85 MB / 4.432 GB, free: 183.4 MB / 0.698 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)