Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.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.001228/0.001228, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.001325/0.001325, allocations: 177.3 kB / 15.95 MB, free: 208 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003139, allocations: 8 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6497, allocations: 153.6 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1476/0.7973, allocations: 140.5 MB / 1.158 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005118/0.8025, allocations: 3.592 MB / 1.162 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.803, allocations: 15.88 kB / 1.162 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008133/0.8038, allocations: 242.9 kB / 1.162 GB, free: 452 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.8059, allocations: 0.7011 MB / 1.162 GB, free: 15.74 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.8072, allocations: 474.9 kB / 1.163 GB, free: 15.28 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.8094, allocations: 1.648 MB / 1.165 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.8122, allocations: 2.321 MB / 1.167 GB, free: 11.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.8148, allocations: 0.8604 MB / 1.168 GB, free: 10.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.8161, allocations: 0.6109 MB / 1.168 GB, free: 9.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.8163, allocations: 48 kB / 1.168 GB, free: 9.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.8175, allocations: 455.3 kB / 1.169 GB, free: 9.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.8179, allocations: 307 kB / 1.169 GB, free: 9.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.8182, allocations: 253.1 kB / 1.169 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.8194, allocations: 1.122 MB / 1.17 GB, free: 7.645 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8194, allocations: 4 kB / 1.17 GB, free: 7.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8194, allocations: 0 / 1.17 GB, free: 7.641 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.8194, allocations: 0 / 1.17 GB, free: 7.641 MB / 0.92 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.002649/0.8221, allocations: 1.503 MB / 1.172 GB, free: 6.078 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.8222, allocations: 11.98 kB / 1.172 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.823, allocations: 198.4 kB / 1.172 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.8246, allocations: 0.8679 MB / 1.173 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.8247, allocations: 53.2 kB / 1.173 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.774e-05/0.8248, allocations: 68 kB / 1.173 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.8264, allocations: 0.987 MB / 1.174 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.8264, allocations: 7.938 kB / 1.174 GB, free: 3.762 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/0.8265, allocations: 24 kB / 1.174 GB, free: 3.738 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.8265, allocations: 20 kB / 1.174 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.8278, allocations: 0.796 MB / 1.175 GB, free: 2.922 MB / 0.92 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.005188/0.833, allocations: 4.804 MB / 1.179 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.8361, allocations: 4.03 MB / 1.183 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.522e-05/0.8362, allocations: 24.25 kB / 1.183 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005525/0.8367, allocations: 334.4 kB / 1.184 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003835/0.8371, allocations: 27.69 kB / 1.184 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.8371, allocations: 4 kB / 1.184 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.00527/0.8424, allocations: 1.735 MB / 1.185 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.8425, allocations: 118.8 kB / 1.186 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.844, allocations: 1.185 MB / 1.187 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.844, allocations: 37.7 kB / 1.187 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.8445, allocations: 0.5121 MB / 1.187 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/0.8446, allocations: 110.4 kB / 1.187 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.8446, allocations: 15.94 kB / 1.187 GB, free: 4.719 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8448, allocations: 330 kB / 1.188 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.8451, allocations: 209 kB / 1.188 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.8458, allocations: 0.5329 MB / 1.188 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.8463, allocations: 329.7 kB / 1.189 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.8463, allocations: 0 / 1.189 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002314/0.8486, allocations: 1.087 MB / 1.19 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001116/0.8497, allocations: 2.143 MB / 1.192 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.8497, allocations: 4 kB / 1.192 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.8511, allocations: 372.2 kB / 1.192 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.8515, allocations: 75.89 kB / 1.192 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.8527, allocations: 1.05 MB / 1.193 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.8538, allocations: 107.7 kB / 1.193 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.8538, allocations: 27.98 kB / 1.193 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.8538, allocations: 8 kB / 1.193 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/0.8553, allocations: 0.8026 MB / 1.194 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8553, allocations: 8 kB / 1.194 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.8559, allocations: 260.5 kB / 1.195 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.8563, allocations: 71.83 kB / 1.195 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/0.8603, allocations: 3.188 MB / 1.198 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.8614, allocations: 99.8 kB / 1.198 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.8615, allocations: 24 kB / 1.198 GB, free: 9.535 MB / 0.9512 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.0006827/0.8622, allocations: 484.6 kB / 1.198 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.8623, allocations: 110.7 kB / 1.198 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.8637, allocations: 0.7894 MB / 1.199 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.8637, allocations: 4.188 kB / 1.199 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8637, allocations: 0 / 1.199 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.8638, allocations: 11.91 kB / 1.199 GB, free: 8.125 MB / 0.9512 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.003461/0.8672, allocations: 2.242 MB / 1.201 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8672, allocations: 7.938 kB / 1.201 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.8675, allocations: 48.12 kB / 1.201 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.868, allocations: 212.6 kB / 1.202 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.868, allocations: 8 kB / 1.202 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007582/0.8688, allocations: 0.8918 MB / 1.202 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8688, allocations: 4 kB / 1.202 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.8703, allocations: 0.9715 MB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.8708, allocations: 247.6 kB / 1.204 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.8709, allocations: 8 kB / 1.204 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007289/0.8717, allocations: 79.75 kB / 1.204 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.872e-05/0.8717, allocations: 35.84 kB / 1.204 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.8718, allocations: 20 kB / 1.204 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001161/0.873, allocations: 0.8328 MB / 1.205 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.873, allocations: 0 / 1.205 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001543/0.8745, allocations: 0.4994 MB / 1.205 GB, free: 1.758 MB / 0.9512 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.0004372/0.875, allocations: 177.9 kB / 1.205 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.877, allocations: 1.141 MB / 1.206 GB, free: 420 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.8771, allocations: 4 kB / 1.206 GB, free: 416 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.8776, allocations: 263.4 kB / 1.207 GB, free: 152 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.8808, allocations: 0.645 MB / 1.207 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.8841, allocations: 2.093 MB / 1.209 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009133/0.8851, allocations: 1.244 MB / 1.211 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001011/0.8861, allocations: 332.6 kB / 1.211 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.8862, allocations: 63.44 kB / 1.211 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of SimCode: time 7.61e-07/0.8863, allocations: 0 / 1.211 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of Templates: time 0.0346/0.9209, allocations: 21.12 MB / 1.232 GB, free: 6.828 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches