Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001234/0.001234, allocations: 184.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.762/1.762, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009272/0.0009272, allocations: 103.9 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.42e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3553, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.572/5.927, allocations: 1.873 GB / 3.091 GB, free: 435.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/5.927, allocations: 90.02 kB / 3.091 GB, free: 435.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.223/9.15, allocations: 0.9801 GB / 4.071 GB, free: 350.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.445e-06/9.15, allocations: 0 / 4.071 GB, free: 350.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001206/9.151, allocations: 27.45 kB / 4.071 GB, free: 350.7 MB / 1.167 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.00402/9.155, allocations: 1.236 MB / 4.073 GB, free: 349.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/9.155, allocations: 10.97 kB / 4.073 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009641/9.156, allocations: 188.5 kB / 4.073 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/9.159, allocations: 1.396 MB / 4.074 GB, free: 349 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/9.159, allocations: 47.47 kB / 4.074 GB, free: 348.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/9.159, allocations: 57.81 kB / 4.074 GB, free: 348.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/9.161, allocations: 0.7735 MB / 4.075 GB, free: 348.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/9.161, allocations: 7.562 kB / 4.075 GB, free: 348.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/9.161, allocations: 23.31 kB / 4.075 GB, free: 348.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/9.161, allocations: 14.88 kB / 4.075 GB, free: 348.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/9.161, allocations: 496.1 kB / 4.076 GB, free: 348.2 MB / 1.167 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.003743/9.165, allocations: 4.218 MB / 4.08 GB, free: 344.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000538/9.166, allocations: 374 kB / 4.08 GB, free: 344.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/9.166, allocations: 311.8 kB / 4.08 GB, free: 344.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/9.166, allocations: 197 kB / 4.081 GB, free: 343.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/9.167, allocations: 297.9 kB / 4.081 GB, free: 343.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003016/9.167, allocations: 36.55 kB / 4.081 GB, free: 343.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/9.167, allocations: 0 / 4.081 GB, free: 343.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.0008048/9.168, allocations: 492.8 kB / 4.081 GB, free: 343.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/9.168, allocations: 80.98 kB / 4.081 GB, free: 343.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/9.169, allocations: 1.008 MB / 4.082 GB, free: 342.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/9.169, allocations: 39.98 kB / 4.082 GB, free: 342.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/9.17, allocations: 485.8 kB / 4.083 GB, free: 342.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.105e-05/9.17, allocations: 114 kB / 4.083 GB, free: 342.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/9.17, allocations: 4 kB / 4.083 GB, free: 342.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/9.17, allocations: 329.2 kB / 4.083 GB, free: 342 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/9.17, allocations: 172.8 kB / 4.084 GB, free: 341.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/9.17, allocations: 0.4978 MB / 4.084 GB, free: 341.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/9.171, allocations: 290.5 kB / 4.084 GB, free: 341.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/9.171, allocations: 0 / 4.084 GB, free: 341.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007892/9.171, allocations: 0.6657 MB / 4.085 GB, free: 341 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000397/9.172, allocations: 2.146 MB / 4.087 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/9.172, allocations: 7.5 kB / 4.087 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/9.172, allocations: 7.375 kB / 4.087 GB, free: 338.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/9.174, allocations: 302 kB / 4.087 GB, free: 338.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/9.176, allocations: 6.096 MB / 4.093 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/9.177, allocations: 92.08 kB / 4.093 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/9.177, allocations: 24.25 kB / 4.093 GB, free: 332.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/9.177, allocations: 6.875 kB / 4.093 GB, free: 332.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006658/9.178, allocations: 0.5155 MB / 4.094 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/9.178, allocations: 3.719 kB / 4.094 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/9.178, allocations: 9.688 kB / 4.094 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/9.178, allocations: 150.3 kB / 4.094 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/9.179, allocations: 20.11 kB / 4.094 GB, free: 332.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/9.179, allocations: 85.42 kB / 4.094 GB, free: 332.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/9.179, allocations: 30.52 kB / 4.094 GB, free: 332.1 MB / 1.167 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.0001348/9.18, allocations: 143.6 kB / 4.094 GB, free: 332 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/9.18, allocations: 103.7 kB / 4.094 GB, free: 331.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/9.18, allocations: 0.5056 MB / 4.095 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/9.18, allocations: 7.906 kB / 4.095 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/9.18, allocations: 0 / 4.095 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/9.18, allocations: 3.984 kB / 4.095 GB, free: 331.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/9.182, allocations: 1.421 MB / 4.096 GB, free: 330.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/9.182, allocations: 0 / 4.096 GB, free: 330.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/9.183, allocations: 165 kB / 4.096 GB, free: 330.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/9.183, allocations: 7.484 kB / 4.096 GB, free: 330.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/9.183, allocations: 7.938 kB / 4.096 GB, free: 330.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/9.185, allocations: 6.026 MB / 4.102 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/9.185, allocations: 0 / 4.102 GB, free: 324.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/9.185, allocations: 0.6988 MB / 4.103 GB, free: 324 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/9.186, allocations: 228.1 kB / 4.103 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/9.186, allocations: 11.45 kB / 4.103 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/9.186, allocations: 67.2 kB / 4.103 GB, free: 323.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/9.187, allocations: 37.16 kB / 4.103 GB, free: 323.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/9.187, allocations: 14.03 kB / 4.103 GB, free: 323.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008589/9.188, allocations: 0.7985 MB / 4.104 GB, free: 323.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/9.188, allocations: 0 / 4.104 GB, free: 323.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001408/9.189, allocations: 500 kB / 4.105 GB, free: 323.2 MB / 1.167 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.001262/9.19, allocations: 0.9673 MB / 4.106 GB, free: 322.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00227/9.192, allocations: 1.02 MB / 4.107 GB, free: 322.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/9.192, allocations: 0 / 4.107 GB, free: 322.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/9.193, allocations: 282.9 kB / 4.107 GB, free: 322.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/9.196, allocations: 0.628 MB / 4.107 GB, free: 321.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/9.198, allocations: 1.404 MB / 4.109 GB, free: 320.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000518/9.198, allocations: 1.204 MB / 4.11 GB, free: 319.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001777/9.2, allocations: 0.765 MB / 4.111 GB, free: 318.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/9.2, allocations: 47.44 kB / 4.111 GB, free: 318.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.71e-07/9.2, allocations: 0 / 4.111 GB, free: 318.5 MB / 1.167 GB Notification: Performance of Templates: time 0.04175/9.242, allocations: 35.34 MB / 4.145 GB, free: 283.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches