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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000948/0.0009484, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00727/0.007271, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 277.9 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9075/0.9075, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 18.94 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1534, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4348/0.5882, allocations: 157.3 MB / 0.8387 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.5928, allocations: 3.596 MB / 0.8422 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.5932, allocations: 8.812 kB / 0.8422 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.5937, allocations: 136.1 kB / 0.8424 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.595, allocations: 0.4894 MB / 0.8429 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.596, allocations: 392.5 kB / 0.8432 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002877/0.5989, allocations: 3.514 MB / 0.8467 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.6014, allocations: 2.225 MB / 0.8488 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.6028, allocations: 0.9 MB / 0.8497 GB, free: 460 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/0.6035, allocations: 0.7241 MB / 0.8504 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.6036, allocations: 34.28 kB / 0.8504 GB, free: 44 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.6048, allocations: 0.8004 MB / 0.8512 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.605, allocations: 280.4 kB / 0.8515 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.6055, allocations: 0.5298 MB / 0.852 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.6067, allocations: 1.386 MB / 0.8534 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.6067, allocations: 0 / 0.8534 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6067, allocations: 3.25 kB / 0.8534 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.6067, allocations: 4 kB / 0.8534 GB, free: 14.23 MB / 0.5762 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.001743/0.6085, allocations: 1.294 MB / 0.8546 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.6085, allocations: 8.844 kB / 0.8546 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006651/0.6092, allocations: 189 kB / 0.8548 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.6102, allocations: 0.8074 MB / 0.8556 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.6103, allocations: 41.94 kB / 0.8557 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.6103, allocations: 65.34 kB / 0.8557 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6114, allocations: 0.8289 MB / 0.8565 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6114, allocations: 2.844 kB / 0.8565 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.6115, allocations: 19.81 kB / 0.8565 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.6115, allocations: 11.06 kB / 0.8566 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008294/0.6123, allocations: 0.5811 MB / 0.8571 GB, free: 11.6 MB / 0.5762 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.004253/0.6166, allocations: 4.247 MB / 0.8613 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.6176, allocations: 458.1 kB / 0.8617 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.6183, allocations: 345.9 kB / 0.862 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.6186, allocations: 197.8 kB / 0.8622 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006729/0.6193, allocations: 324.5 kB / 0.8625 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003066/0.6196, allocations: 34.59 kB / 0.8626 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.204e-06/0.6196, allocations: 0 / 0.8626 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001865/0.6215, allocations: 0.715 MB / 0.8633 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6216, allocations: 86.92 kB / 0.8634 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.6235, allocations: 1.148 MB / 0.8645 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.6236, allocations: 42.7 kB / 0.8645 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.6242, allocations: 481.8 kB / 0.865 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.6244, allocations: 114.3 kB / 0.8651 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.6245, allocations: 49.91 kB / 0.8651 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6246, allocations: 323 kB / 0.8654 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.6252, allocations: 233.5 kB / 0.8657 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008584/0.6261, allocations: 0.5559 MB / 0.8662 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.6271, allocations: 0.6921 MB / 0.8669 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6271, allocations: 0 / 0.8669 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001182/0.6283, allocations: 0.7816 MB / 0.8676 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.6285, allocations: 268.6 kB / 0.8679 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6285, allocations: 8.75 kB / 0.8679 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6286, allocations: 17.22 kB / 0.8679 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.629, allocations: 117.9 kB / 0.868 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.6291, allocations: 12.78 kB / 0.868 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.6299, allocations: 85.53 kB / 0.8681 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.63, allocations: 23.06 kB / 0.8682 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-06/0.63, allocations: 5.688 kB / 0.8682 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008555/0.6308, allocations: 0.5935 MB / 0.8687 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6308, allocations: 5.844 kB / 0.8687 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.6308, allocations: 7.969 kB / 0.8688 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.6313, allocations: 112 kB / 0.8689 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6313, allocations: 11.84 kB / 0.8689 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.632, allocations: 73.52 kB / 0.8689 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.6321, allocations: 30.8 kB / 0.869 GB, free: 2.664 MB / 0.5762 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005028/0.6326, allocations: 472.8 kB / 0.8694 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.6327, allocations: 104.8 kB / 0.8695 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/0.6337, allocations: 0.5544 MB / 0.8701 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6337, allocations: 4 kB / 0.8701 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6337, allocations: 0 / 0.8701 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6337, allocations: 3.984 kB / 0.8701 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.6357, allocations: 1.495 MB / 0.8715 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6358, allocations: 7.984 kB / 0.8715 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.6361, allocations: 80.16 kB / 0.8716 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.6361, allocations: 7.938 kB / 0.8716 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6361, allocations: 8 kB / 0.8716 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6362, allocations: 11.92 kB / 0.8716 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.6362, allocations: 3.938 kB / 0.8716 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008508/0.637, allocations: 0.667 MB / 0.8723 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.6373, allocations: 231.7 kB / 0.8725 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.6374, allocations: 11.98 kB / 0.8725 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.6381, allocations: 55.94 kB / 0.8726 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.6382, allocations: 43.83 kB / 0.8726 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.6382, allocations: 11.94 kB / 0.8726 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009485/0.6391, allocations: 0.8199 MB / 0.8734 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6391, allocations: 4 kB / 0.8734 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001031/0.6402, allocations: 419.4 kB / 0.8738 GB, free: 13.65 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003784/0.6406, allocations: 186.3 kB / 0.874 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.642, allocations: 0.9177 MB / 0.8749 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.642, allocations: 4 kB / 0.8749 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.6424, allocations: 227.7 kB / 0.8751 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/0.646, allocations: 0.6397 MB / 0.8758 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.6487, allocations: 2.068 MB / 0.8778 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.6494, allocations: 1.182 MB / 0.8789 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001104/0.6505, allocations: 420.1 kB / 0.8793 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.6507, allocations: 79.42 kB / 0.8794 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.6507, allocations: 0 / 0.8794 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.02922/0.6799, allocations: 19.09 MB / 0.898 GB, free: 5.012 MB / 0.6075 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)