Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009077, allocations: 95.23 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.747e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3324, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.386/5.718, allocations: 1.871 GB / 3.077 GB, free: 9.875 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/5.719, allocations: 91.94 kB / 3.077 GB, free: 9.785 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.489/10.21, allocations: 1.078 GB / 4.155 GB, free: 272.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.414e-06/10.21, allocations: 4 kB / 4.155 GB, free: 272.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000218/10.21, allocations: 36.36 kB / 4.155 GB, free: 272.2 MB / 1.151 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.0048/10.21, allocations: 1.268 MB / 4.156 GB, free: 270.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/10.21, allocations: 12.03 kB / 4.156 GB, free: 270.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/10.21, allocations: 194.4 kB / 4.156 GB, free: 270.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/10.22, allocations: 1.453 MB / 4.158 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/10.22, allocations: 16 kB / 4.158 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/10.22, allocations: 40 kB / 4.158 GB, free: 269.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001107/10.22, allocations: 0.7052 MB / 4.158 GB, free: 268.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/10.22, allocations: 0.8454 MB / 4.159 GB, free: 267.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/10.22, allocations: 4 kB / 4.159 GB, free: 267.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/10.22, allocations: 0 / 4.159 GB, free: 267.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/10.22, allocations: 16 kB / 4.159 GB, free: 267.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004628/10.23, allocations: 4.576 MB / 4.164 GB, free: 262.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/10.23, allocations: 4.038 MB / 4.168 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/10.23, allocations: 337.7 kB / 4.168 GB, free: 257.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/10.23, allocations: 194.2 kB / 4.168 GB, free: 257.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003838/10.23, allocations: 284.9 kB / 4.168 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005149/10.23, allocations: 27.72 kB / 4.168 GB, free: 256.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.116e-06/10.23, allocations: 0 / 4.168 GB, free: 256.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001875/10.23, allocations: 0.8516 MB / 4.169 GB, free: 255.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/10.23, allocations: 85.09 kB / 4.169 GB, free: 255.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/10.23, allocations: 0.9067 MB / 4.17 GB, free: 254.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/10.23, allocations: 25.7 kB / 4.17 GB, free: 254.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/10.23, allocations: 0.5277 MB / 4.171 GB, free: 254.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/10.23, allocations: 126.2 kB / 4.171 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/10.23, allocations: 7.938 kB / 4.171 GB, free: 254.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.717e-05/10.23, allocations: 326 kB / 4.171 GB, free: 253.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/10.23, allocations: 204.9 kB / 4.171 GB, free: 253.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/10.23, allocations: 0.5355 MB / 4.172 GB, free: 253 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/10.23, allocations: 293.3 kB / 4.172 GB, free: 252.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/10.23, allocations: 4 kB / 4.172 GB, free: 252.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001745/10.24, allocations: 0.9925 MB / 4.173 GB, free: 251.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007066/10.24, allocations: 2.228 MB / 4.175 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/10.24, allocations: 4 kB / 4.175 GB, free: 249.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/10.24, allocations: 279.5 kB / 4.176 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/10.24, allocations: 83.88 kB / 4.176 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/10.24, allocations: 1.22 MB / 4.177 GB, free: 247.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/10.24, allocations: 91.59 kB / 4.177 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/10.24, allocations: 28 kB / 4.177 GB, free: 247.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/10.24, allocations: 5.094 kB / 4.177 GB, free: 247.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001111/10.24, allocations: 0.6793 MB / 4.178 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/10.24, allocations: 11.98 kB / 4.178 GB, free: 246.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/10.24, allocations: 228 kB / 4.178 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/10.24, allocations: 75.83 kB / 4.178 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003349/10.24, allocations: 2.988 MB / 4.181 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/10.25, allocations: 91.8 kB / 4.181 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/10.25, allocations: 28.09 kB / 4.181 GB, free: 243.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * 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): 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002084/10.25, allocations: 125 kB / 4.181 GB, free: 243.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/10.25, allocations: 102.8 kB / 4.181 GB, free: 243.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/10.25, allocations: 0.7456 MB / 4.182 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/10.25, allocations: 7.953 kB / 4.182 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/10.25, allocations: 4 kB / 4.182 GB, free: 242.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/10.25, allocations: 0 / 4.182 GB, free: 242.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002645/10.25, allocations: 2.056 MB / 4.184 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/10.25, allocations: 4 kB / 4.184 GB, free: 240.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/10.25, allocations: 43.91 kB / 4.184 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/10.25, allocations: 201 kB / 4.184 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/10.25, allocations: 4 kB / 4.184 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/10.25, allocations: 0.9576 MB / 4.185 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/10.25, allocations: 0 / 4.185 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/10.25, allocations: 0.9248 MB / 4.186 GB, free: 237.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/10.25, allocations: 231.8 kB / 4.186 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/10.25, allocations: 8 kB / 4.186 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/10.25, allocations: 75.7 kB / 4.186 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/10.25, allocations: 35.89 kB / 4.186 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/10.25, allocations: 12 kB / 4.186 GB, free: 237.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008599/10.26, allocations: 0.7025 MB / 4.187 GB, free: 236.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/10.26, allocations: 7.938 kB / 4.187 GB, free: 236.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002149/10.26, allocations: 0.5735 MB / 4.188 GB, free: 236.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001932/10.26, allocations: 1.269 MB / 4.189 GB, free: 235 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002331/10.26, allocations: 1.234 MB / 4.19 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/10.26, allocations: 0 / 4.19 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004772/10.26, allocations: 284.5 kB / 4.19 GB, free: 233.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/10.27, allocations: 0.5894 MB / 4.191 GB, free: 232.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/10.27, allocations: 1.42 MB / 4.192 GB, free: 231.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/10.27, allocations: 1.238 MB / 4.194 GB, free: 230.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002085/10.27, allocations: 0.7221 MB / 4.194 GB, free: 229.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/10.27, allocations: 47.44 kB / 4.194 GB, free: 229.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.51e-07/10.27, allocations: 3.938 kB / 4.194 GB, free: 229.3 MB / 1.151 GB Notification: Performance of Templates: time 0.03917/10.31, allocations: 25.69 MB / 4.219 GB, free: 203.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches