Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001198, allocations: 99.86 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.00151/0.00151, 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.412/1.412, 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/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 15.94 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6256, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1448/0.7705, allocations: 140.5 MB / 1.158 GB, free: 4.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.7741, allocations: 2.171 MB / 1.16 GB, free: 2.074 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.7745, allocations: 11.94 kB / 1.16 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.7752, allocations: 242.9 kB / 1.16 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.777, allocations: 0.7042 MB / 1.161 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.7782, allocations: 438.7 kB / 1.161 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.7803, allocations: 1.635 MB / 1.163 GB, free: 15.06 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.7831, allocations: 2.313 MB / 1.165 GB, free: 12.74 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.7847, allocations: 0.8605 MB / 1.166 GB, free: 11.88 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008163/0.7855, allocations: 0.6031 MB / 1.167 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.7856, allocations: 48 kB / 1.167 GB, free: 11.22 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.787, allocations: 0.6163 MB / 1.167 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.7874, allocations: 307 kB / 1.168 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002673/0.7876, allocations: 249.1 kB / 1.168 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.7888, allocations: 1.173 MB / 1.169 GB, free: 8.879 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.7888, allocations: 4 kB / 1.169 GB, free: 8.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7888, allocations: 0 / 1.169 GB, free: 8.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.7888, 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.002569/0.7914, allocations: 1.511 MB / 1.171 GB, free: 7.301 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.7914, allocations: 11.98 kB / 1.171 GB, free: 7.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.7923, allocations: 206.3 kB / 1.171 GB, free: 7.086 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.794, allocations: 0.8716 MB / 1.172 GB, free: 6.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.794, allocations: 49.3 kB / 1.172 GB, free: 6.113 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.7941, allocations: 71.89 kB / 1.172 GB, free: 6.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.7956, allocations: 0.9837 MB / 1.173 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.7956, allocations: 4 kB / 1.173 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.441e-05/0.7957, allocations: 23.94 kB / 1.173 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.7957, allocations: 20 kB / 1.173 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.797, allocations: 0.7999 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.004739/0.8018, allocations: 4.804 MB / 1.178 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.8044, allocations: 4.031 MB / 1.182 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.8045, allocations: 12.27 kB / 1.182 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.805, allocations: 337.9 kB / 1.182 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003331/0.8054, allocations: 31.62 kB / 1.183 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.8054, allocations: 0 / 1.183 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.004697/0.8101, allocations: 1.586 MB / 1.184 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.8102, allocations: 110.8 kB / 1.184 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.8116, allocations: 1.177 MB / 1.185 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.65e-05/0.8117, allocations: 41.7 kB / 1.185 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.8121, allocations: 0.5121 MB / 1.186 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.8122, allocations: 118.4 kB / 1.186 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.8122, allocations: 8 kB / 1.186 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8124, allocations: 333.8 kB / 1.186 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.8127, allocations: 212.9 kB / 1.187 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.8133, allocations: 0.5368 MB / 1.187 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.8138, allocations: 321.8 kB / 1.187 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8138, allocations: 0 / 1.187 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002188/0.816, allocations: 1.048 MB / 1.188 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007536/0.8168, allocations: 2.131 MB / 1.19 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.8168, allocations: 7.953 kB / 1.19 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.8181, allocations: 328.5 kB / 1.191 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.8185, allocations: 107.9 kB / 1.191 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009747/0.8195, allocations: 1.002 MB / 1.192 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009851/0.8205, allocations: 99.73 kB / 1.192 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.8206, allocations: 35.92 kB / 1.192 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.8206, allocations: 4 kB / 1.192 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/0.822, allocations: 0.7869 MB / 1.193 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.822, allocations: 4 kB / 1.193 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.8225, allocations: 230.8 kB / 1.193 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.8229, allocations: 111.9 kB / 1.193 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.8265, allocations: 2.992 MB / 1.196 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8276, allocations: 99.8 kB / 1.196 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.8276, allocations: 24 kB / 1.196 GB, free: 11.23 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): 36 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005824/0.8282, allocations: 476.6 kB / 1.197 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.8284, allocations: 114.7 kB / 1.197 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.8297, allocations: 0.7504 MB / 1.197 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.8297, allocations: 4 kB / 1.197 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8297, allocations: 4 kB / 1.197 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.8297, allocations: 3.984 kB / 1.197 GB, free: 9.863 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.002968/0.8327, allocations: 2.222 MB / 1.2 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.8327, allocations: 3.984 kB / 1.2 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.8331, allocations: 76.16 kB / 1.2 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.8335, allocations: 176.8 kB / 1.2 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.8335, allocations: 11.98 kB / 1.2 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007613/0.8343, allocations: 0.8494 MB / 1.201 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.8343, allocations: 15.98 kB / 1.201 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.8357, allocations: 0.9438 MB / 1.202 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.8362, allocations: 239.6 kB / 1.202 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.8363, allocations: 8 kB / 1.202 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.8371, allocations: 75.86 kB / 1.202 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.503e-05/0.8372, allocations: 35.84 kB / 1.202 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.8372, allocations: 19.98 kB / 1.202 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001044/0.8383, allocations: 0.821 MB / 1.203 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8383, allocations: 4 kB / 1.203 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001524/0.8398, allocations: 0.5032 MB / 1.203 GB, free: 3.598 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): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005136/0.8403, allocations: 185.4 kB / 1.203 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.8424, allocations: 1.133 MB / 1.205 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.8424, allocations: 0 / 1.205 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000472/0.8429, allocations: 255.7 kB / 1.205 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.8461, allocations: 0.6456 MB / 1.205 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.8498, allocations: 2.096 MB / 1.207 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000986/0.8508, allocations: 1.225 MB / 1.209 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001257/0.8521, allocations: 372.3 kB / 1.209 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.8523, allocations: 71.44 kB / 1.209 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of SimCode: time 1.222e-06/0.8523, allocations: 0 / 1.209 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of Templates: time 0.03382/0.8861, allocations: 20.82 MB / 1.229 GB, free: 8.945 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches