Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 100 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9671/0.9671, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.000316, allocations: 19.98 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1588, allocations: 83.4 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4285/0.5873, allocations: 140.5 MB / 0.7345 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005898/0.5932, allocations: 3.614 MB / 0.738 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.5939, allocations: 14.75 kB / 0.738 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000944/0.5949, allocations: 232.3 kB / 0.7382 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.5974, allocations: 0.7044 MB / 0.7389 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.5991, allocations: 489 kB / 0.7394 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002337/0.6015, allocations: 1.647 MB / 0.741 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003143/0.6047, allocations: 2.324 MB / 0.7433 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.6064, allocations: 0.8616 MB / 0.7441 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008723/0.6073, allocations: 0.5964 MB / 0.7447 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.6074, allocations: 48 kB / 0.7447 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.6086, allocations: 465.9 kB / 0.7452 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.6089, allocations: 307.1 kB / 0.7455 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.6092, allocations: 249.1 kB / 0.7457 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.6104, allocations: 1.171 MB / 0.7469 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.6104, allocations: 0 / 0.7469 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6104, allocations: 0 / 0.7469 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.6104, allocations: 0 / 0.7469 GB, free: 2.934 MB / 0.5606 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.002592/0.613, allocations: 1.507 MB / 0.7483 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.6131, allocations: 8.031 kB / 0.7483 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.6139, allocations: 202.3 kB / 0.7485 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.6155, allocations: 0.864 MB / 0.7494 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.6156, allocations: 53.31 kB / 0.7494 GB, free: 196 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.6157, allocations: 64 kB / 0.7495 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.6171, allocations: 0.9865 MB / 0.7505 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6172, allocations: 7.984 kB / 0.7505 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.756e-05/0.6172, allocations: 23.94 kB / 0.7505 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.6173, allocations: 16 kB / 0.7505 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.6185, allocations: 0.8077 MB / 0.7513 GB, free: 14.21 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.004685/0.6232, allocations: 4.808 MB / 0.756 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.6256, allocations: 4.03 MB / 0.7599 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.6257, allocations: 16.25 kB / 0.7599 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005391/0.6262, allocations: 344.1 kB / 0.7603 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002868/0.6265, allocations: 35.69 kB / 0.7603 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 4.308e-06/0.6265, allocations: 3.984 kB / 0.7603 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.00523/0.6318, allocations: 1.746 MB / 0.762 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.6319, allocations: 106.8 kB / 0.7621 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.6334, allocations: 1.181 MB / 0.7633 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.6335, allocations: 41.7 kB / 0.7633 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.6339, allocations: 0.5083 MB / 0.7638 GB, free: 156 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.634, allocations: 126.3 kB / 0.7639 GB, free: 28 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.6341, allocations: 15.94 kB / 0.7639 GB, free: 12 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6342, allocations: 322 kB / 0.7642 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.6346, allocations: 209 kB / 0.7644 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.6352, allocations: 0.5371 MB / 0.765 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.6357, allocations: 309.4 kB / 0.7653 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6357, allocations: 0 / 0.7653 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002328/0.6381, allocations: 1.094 MB / 0.7663 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008018/0.6389, allocations: 2.146 MB / 0.7684 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.6389, allocations: 8 kB / 0.7684 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.6403, allocations: 368.2 kB / 0.7688 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.6406, allocations: 71.83 kB / 0.7689 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/0.6417, allocations: 1.054 MB / 0.7699 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.6428, allocations: 103.8 kB / 0.77 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.6428, allocations: 24 kB / 0.77 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6429, allocations: 4 kB / 0.77 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001528/0.6444, allocations: 0.8066 MB / 0.7708 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6444, allocations: 11.94 kB / 0.7708 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.645, allocations: 264.9 kB / 0.7711 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.6454, allocations: 79.88 kB / 0.7711 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003772/0.6491, allocations: 3.199 MB / 0.7743 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6502, allocations: 95.8 kB / 0.7743 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.6502, allocations: 28 kB / 0.7744 GB, free: 4.824 MB / 0.5919 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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.0006156/0.6508, allocations: 472.7 kB / 0.7748 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.651, allocations: 114.6 kB / 0.7749 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.6525, allocations: 0.7891 MB / 0.7757 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.6525, allocations: 4.938 kB / 0.7757 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6525, allocations: 0 / 0.7757 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6525, allocations: 7.922 kB / 0.7757 GB, free: 3.426 MB / 0.5919 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 postOpt removeSimpleEquations (simulation): time 0.003087/0.6556, allocations: 2.248 MB / 0.7779 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6556, allocations: 0 / 0.7779 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.6559, allocations: 52.12 kB / 0.778 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004809/0.6564, allocations: 212.5 kB / 0.7782 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.6564, allocations: 15.88 kB / 0.7782 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008211/0.6572, allocations: 0.8849 MB / 0.779 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6573, allocations: 4.031 kB / 0.779 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.6587, allocations: 0.9788 MB / 0.78 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005053/0.6592, allocations: 239.7 kB / 0.7802 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.6593, allocations: 8 kB / 0.7802 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.66, allocations: 79.75 kB / 0.7803 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.6601, allocations: 39.89 kB / 0.7804 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.6602, allocations: 12 kB / 0.7804 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001022/0.6612, allocations: 0.8289 MB / 0.7812 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6612, allocations: 0 / 0.7812 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001404/0.6626, allocations: 0.4993 MB / 0.7817 GB, free: 13.07 MB / 0.6075 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.0004696/0.6631, allocations: 190.7 kB / 0.7818 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.6651, allocations: 1.138 MB / 0.783 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6651, allocations: 0 / 0.783 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.6656, allocations: 265.9 kB / 0.7832 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.6689, allocations: 0.6479 MB / 0.7838 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.6718, allocations: 2.097 MB / 0.7859 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/0.6727, allocations: 1.236 MB / 0.7871 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009878/0.6737, allocations: 332.6 kB / 0.7874 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.6738, allocations: 63.44 kB / 0.7875 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.6738, allocations: 0 / 0.7875 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of Templates: time 0.03333/0.7071, allocations: 21.2 MB / 0.8082 GB, free: 2.105 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: