Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 95 kB / 15.05 MB, free: 1.109 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.00131/0.00131, allocations: 181.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.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.589/2.589, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6505/0.6508, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1545/0.8054, allocations: 140.5 MB / 1.158 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003787/0.8092, allocations: 2.169 MB / 1.16 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.8097, allocations: 7.938 kB / 1.16 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.8105, allocations: 234.9 kB / 1.16 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.8126, allocations: 0.7011 MB / 1.161 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.8139, allocations: 441.9 kB / 1.161 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.8163, allocations: 1.639 MB / 1.163 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00309/0.8194, allocations: 2.313 MB / 1.165 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.8211, allocations: 0.8527 MB / 1.166 GB, free: 11.88 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.8222, allocations: 0.6109 MB / 1.167 GB, free: 11.26 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.8224, allocations: 48 kB / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.824, allocations: 0.6241 MB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.8245, allocations: 303 kB / 1.168 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00044/0.8249, allocations: 249.1 kB / 1.168 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.8265, allocations: 1.165 MB / 1.169 GB, free: 8.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8265, allocations: 0 / 1.169 GB, free: 8.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8265, allocations: 0 / 1.169 GB, free: 8.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.352e-05/0.8265, allocations: 0 / 1.169 GB, free: 8.875 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002922/0.8294, allocations: 1.52 MB / 1.171 GB, free: 7.293 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.8295, allocations: 11.98 kB / 1.171 GB, free: 7.281 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.8304, allocations: 202.3 kB / 1.171 GB, free: 7.082 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.8324, allocations: 0.8717 MB / 1.172 GB, free: 6.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.8325, allocations: 45.31 kB / 1.172 GB, free: 6.113 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.8326, allocations: 71.89 kB / 1.172 GB, free: 6.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.8342, allocations: 0.9876 MB / 1.173 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.8342, allocations: 3.938 kB / 1.173 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.658e-05/0.8343, allocations: 24 kB / 1.173 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.8343, allocations: 12 kB / 1.173 GB, free: 4.941 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.8356, allocations: 0.8038 MB / 1.174 GB, free: 4.137 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.005186/0.8408, allocations: 4.808 MB / 1.178 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.8437, allocations: 4.031 MB / 1.182 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.66e-05/0.8438, allocations: 12.27 kB / 1.182 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005765/0.8443, allocations: 335 kB / 1.182 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003162/0.8447, allocations: 35.69 kB / 1.183 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 3.216e-06/0.8447, allocations: 0 / 1.183 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.004786/0.8495, allocations: 1.489 MB / 1.184 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.8496, allocations: 106.8 kB / 1.184 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.8513, allocations: 1.177 MB / 1.185 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.8514, allocations: 37.7 kB / 1.185 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005017/0.8519, allocations: 0.5199 MB / 1.186 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.852, allocations: 118.4 kB / 1.186 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.8521, allocations: 8 kB / 1.186 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002366/0.8523, allocations: 329.9 kB / 1.186 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.8527, allocations: 205 kB / 1.186 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.8533, allocations: 0.5368 MB / 1.187 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.8538, allocations: 325.8 kB / 1.187 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.8539, allocations: 4 kB / 1.187 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002444/0.8563, allocations: 1.048 MB / 1.188 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000855/0.8572, allocations: 2.134 MB / 1.19 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.8572, allocations: 7.953 kB / 1.19 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.8586, allocations: 394.1 kB / 1.191 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.8592, allocations: 107.9 kB / 1.191 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.861, allocations: 1.676 MB / 1.192 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.8621, allocations: 99.33 kB / 1.193 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.8622, allocations: 27.98 kB / 1.193 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.8622, allocations: 4 kB / 1.193 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/0.8637, allocations: 0.7831 MB / 1.193 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.8637, allocations: 12.12 kB / 1.193 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/0.8642, allocations: 222.2 kB / 1.194 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.8647, allocations: 111.8 kB / 1.194 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003835/0.8685, allocations: 2.996 MB / 1.197 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009871/0.8695, allocations: 99.8 kB / 1.197 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.8696, allocations: 24 kB / 1.197 GB, free: 10.57 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005754/0.8702, allocations: 478.2 kB / 1.197 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.8704, allocations: 118.5 kB / 1.197 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.8719, allocations: 0.7584 MB / 1.198 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8719, allocations: 4.188 kB / 1.198 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8719, allocations: 0 / 1.198 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.872, allocations: 15.86 kB / 1.198 GB, free: 9.188 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.003178/0.8751, allocations: 2.211 MB / 1.2 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.8752, allocations: 4 kB / 1.2 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.8755, allocations: 88.08 kB / 1.2 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.876, allocations: 200.6 kB / 1.2 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.876, allocations: 11.94 kB / 1.2 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.8774, allocations: 1.47 MB / 1.202 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8775, allocations: 4.031 kB / 1.202 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.8788, allocations: 0.9551 MB / 1.203 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.8794, allocations: 235.7 kB / 1.203 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.8796, allocations: 8 kB / 1.203 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.8804, allocations: 75.75 kB / 1.203 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.8805, allocations: 35.91 kB / 1.203 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.8805, allocations: 12 kB / 1.203 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001202/0.8817, allocations: 0.8327 MB / 1.204 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8817, allocations: 0 / 1.204 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001651/0.8834, allocations: 0.4954 MB / 1.205 GB, free: 2.266 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005376/0.8839, allocations: 187.7 kB / 1.205 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003043/0.887, allocations: 1.295 MB / 1.206 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.887, allocations: 0 / 1.206 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008688/0.8879, allocations: 324.1 kB / 1.206 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.8913, allocations: 0.6401 MB / 1.207 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.8947, allocations: 2.22 MB / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.8956, allocations: 1.236 MB / 1.21 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001084/0.8967, allocations: 360.4 kB / 1.211 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.8969, allocations: 67.44 kB / 1.211 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.8969, allocations: 3.938 kB / 1.211 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.0349/0.9318, allocations: 20.63 MB / 1.231 GB, free: 7.441 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches