Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001071/0.001071, allocations: 188.1 kB / 492.3 MB, free: 0.6289 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.704/1.704, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009949/0.0009949, allocations: 98.58 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.162e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3319, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.615/5.947, allocations: 1.872 GB / 3.084 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/5.947, allocations: 96.11 kB / 3.084 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.417/9.365, allocations: 0.9801 GB / 4.064 GB, free: 347.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.665e-06/9.365, allocations: 3.938 kB / 4.064 GB, free: 347.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001219/9.365, allocations: 36.81 kB / 4.064 GB, free: 347.4 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003794/9.369, allocations: 1.232 MB / 4.066 GB, free: 346.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/9.369, allocations: 16.02 kB / 4.066 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/9.37, allocations: 185 kB / 4.066 GB, free: 346 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/9.373, allocations: 1.398 MB / 4.067 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/9.373, allocations: 41 kB / 4.067 GB, free: 344.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/9.373, allocations: 60 kB / 4.067 GB, free: 344.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/9.374, allocations: 0.7709 MB / 4.068 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/9.374, allocations: 0 / 4.068 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/9.374, allocations: 31.27 kB / 4.068 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/9.374, allocations: 12 kB / 4.068 GB, free: 343.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/9.375, allocations: 498.6 kB / 4.068 GB, free: 343.2 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.003472/9.378, allocations: 4.224 MB / 4.073 GB, free: 338.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/9.379, allocations: 380 kB / 4.073 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/9.379, allocations: 303.3 kB / 4.073 GB, free: 338.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/9.379, allocations: 190.2 kB / 4.073 GB, free: 337.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/9.38, allocations: 290.9 kB / 4.074 GB, free: 337.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003129/9.38, allocations: 41.03 kB / 4.074 GB, free: 337.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/9.38, allocations: 0 / 4.074 GB, free: 337.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.0008485/9.381, allocations: 490.3 kB / 4.074 GB, free: 337.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/9.381, allocations: 85.2 kB / 4.074 GB, free: 337 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/9.382, allocations: 1.015 MB / 4.075 GB, free: 335.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/9.382, allocations: 37.7 kB / 4.075 GB, free: 335.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/9.382, allocations: 489.1 kB / 4.076 GB, free: 335.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/9.383, allocations: 109.8 kB / 4.076 GB, free: 335.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/9.383, allocations: 12 kB / 4.076 GB, free: 335.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/9.383, allocations: 329.8 kB / 4.076 GB, free: 335 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/9.383, allocations: 173 kB / 4.076 GB, free: 334.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/9.383, allocations: 0.5003 MB / 4.077 GB, free: 334.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/9.384, allocations: 287.4 kB / 4.077 GB, free: 333.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/9.384, allocations: 4 kB / 4.077 GB, free: 333.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007752/9.384, allocations: 0.6662 MB / 4.078 GB, free: 333.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004812/9.385, allocations: 2.143 MB / 4.08 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/9.385, allocations: 7.469 kB / 4.08 GB, free: 331 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/9.385, allocations: 8 kB / 4.08 GB, free: 330.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/9.387, allocations: 306.1 kB / 4.08 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/9.389, allocations: 6.081 MB / 4.086 GB, free: 324.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/9.39, allocations: 90.69 kB / 4.086 GB, free: 324.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/9.391, allocations: 30.14 kB / 4.086 GB, free: 324.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/9.391, allocations: 7.953 kB / 4.086 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006652/9.391, allocations: 0.5243 MB / 4.087 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/9.391, allocations: 4 kB / 4.087 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/9.391, allocations: 8 kB / 4.087 GB, free: 323.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/9.392, allocations: 161.7 kB / 4.087 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/9.392, allocations: 11.98 kB / 4.087 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007556/9.393, allocations: 86.05 kB / 4.087 GB, free: 323.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/9.393, allocations: 24 kB / 4.087 GB, free: 323.4 MB / 1.151 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001499/9.393, allocations: 145.2 kB / 4.087 GB, free: 323.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/9.393, allocations: 106.7 kB / 4.087 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/9.394, allocations: 0.4946 MB / 4.088 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/9.394, allocations: 7.938 kB / 4.088 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/9.394, allocations: 3.938 kB / 4.088 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/9.394, allocations: 0 / 4.088 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/9.395, allocations: 1.423 MB / 4.089 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/9.395, allocations: 4 kB / 4.089 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/9.396, allocations: 155.5 kB / 4.089 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/9.396, allocations: 0 / 4.089 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/9.396, allocations: 15.98 kB / 4.089 GB, free: 321 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/9.398, allocations: 6.021 MB / 4.095 GB, free: 314.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/9.398, allocations: 7.969 kB / 4.095 GB, free: 314.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006802/9.399, allocations: 0.7008 MB / 4.096 GB, free: 314 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/9.399, allocations: 223.8 kB / 4.096 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/9.399, allocations: 8 kB / 4.096 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006182/9.4, allocations: 71.77 kB / 4.096 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/9.4, allocations: 39.83 kB / 4.096 GB, free: 313.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/9.4, allocations: 19.98 kB / 4.096 GB, free: 313.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008645/9.401, allocations: 0.8013 MB / 4.097 GB, free: 312.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/9.401, allocations: 0 / 4.097 GB, free: 312.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001461/9.403, allocations: 495.5 kB / 4.097 GB, free: 312.3 MB / 1.151 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * 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): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/9.404, allocations: 0.9692 MB / 4.098 GB, free: 311.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002134/9.406, allocations: 1.019 MB / 4.099 GB, free: 310.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/9.406, allocations: 0 / 4.099 GB, free: 310.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00066/9.407, allocations: 278 kB / 4.1 GB, free: 310.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003009/9.41, allocations: 0.6352 MB / 4.1 GB, free: 309.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/9.412, allocations: 1.399 MB / 4.102 GB, free: 308.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/9.412, allocations: 1.207 MB / 4.103 GB, free: 306.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001738/9.414, allocations: 0.7647 MB / 4.104 GB, free: 306.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/9.414, allocations: 51.44 kB / 4.104 GB, free: 306.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/9.414, allocations: 0 / 4.104 GB, free: 306.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04405/9.458, allocations: 35.33 MB / 4.138 GB, free: 271 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches