Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.241/1.241, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 178.3 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006986/0.0006986, allocations: 90.34 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 11.75 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.41/3.569, allocations: 2.182 GB / 3.083 GB, free: 38.05 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/3.569, allocations: 93.31 kB / 3.083 GB, free: 37.96 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.574/6.143, allocations: 0.9263 GB / 4.009 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.583e-06/6.143, allocations: 4 kB / 4.009 GB, free: 148.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.752e-05/6.143, allocations: 35.98 kB / 4.009 GB, free: 148.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002637/6.146, allocations: 1.398 MB / 4.011 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/6.146, allocations: 12.03 kB / 4.011 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007431/6.146, allocations: 187.4 kB / 4.011 GB, free: 147 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/6.148, allocations: 1.14 MB / 4.012 GB, free: 145.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/6.148, allocations: 45.38 kB / 4.012 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.652e-05/6.148, allocations: 56.38 kB / 4.012 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/6.149, allocations: 0.7699 MB / 4.013 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/6.149, allocations: 11.88 kB / 4.013 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/6.149, allocations: 24 kB / 4.013 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/6.149, allocations: 12 kB / 4.013 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007025/6.15, allocations: 0.5189 MB / 4.014 GB, free: 144.3 MB / 0.8855 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.002846/6.153, allocations: 4.595 MB / 4.018 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005475/6.154, allocations: 418.3 kB / 4.018 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/6.154, allocations: 251.7 kB / 4.019 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002118/6.154, allocations: 194.1 kB / 4.019 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/6.154, allocations: 291.5 kB / 4.019 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.684e-06/6.154, allocations: 0 / 4.019 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001048/6.156, allocations: 0.6449 MB / 4.02 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/6.156, allocations: 85.09 kB / 4.02 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/6.157, allocations: 1.11 MB / 4.021 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/6.157, allocations: 33.7 kB / 4.021 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/6.157, allocations: 492.1 kB / 4.021 GB, free: 135.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/6.157, allocations: 110.5 kB / 4.021 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/6.157, allocations: 12 kB / 4.022 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.911e-05/6.157, allocations: 322 kB / 4.022 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/6.157, allocations: 184.7 kB / 4.022 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/6.158, allocations: 0.5201 MB / 4.022 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/6.158, allocations: 0.5867 MB / 4.023 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/6.158, allocations: 4 kB / 4.023 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000841/6.159, allocations: 0.6852 MB / 4.024 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.639e-05/6.159, allocations: 278.8 kB / 4.024 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/6.159, allocations: 4.219 kB / 4.024 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/6.159, allocations: 8 kB / 4.024 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/6.161, allocations: 351.4 kB / 4.024 GB, free: 132.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/6.163, allocations: 6.095 MB / 4.03 GB, free: 126 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006622/6.163, allocations: 103.5 kB / 4.03 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-05/6.163, allocations: 24 kB / 4.03 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/6.163, allocations: 4 kB / 4.03 GB, free: 125.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006884/6.164, allocations: 0.5403 MB / 4.031 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/6.164, allocations: 4 kB / 4.031 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/6.164, allocations: 8.375 kB / 4.031 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/6.165, allocations: 143.8 kB / 4.031 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/6.165, allocations: 19.86 kB / 4.031 GB, free: 125.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005985/6.165, allocations: 95.69 kB / 4.031 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/6.165, allocations: 27.98 kB / 4.031 GB, free: 125 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * 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.0003901/6.166, allocations: 473.2 kB / 4.032 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/6.166, allocations: 98.78 kB / 4.032 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/6.167, allocations: 0.495 MB / 4.032 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/6.167, allocations: 7.938 kB / 4.032 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/6.167, allocations: 0 / 4.032 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/6.167, allocations: 3.984 kB / 4.032 GB, free: 124 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/6.168, allocations: 1.394 MB / 4.034 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/6.168, allocations: 4 kB / 4.034 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/6.169, allocations: 147.8 kB / 4.034 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/6.169, allocations: 4 kB / 4.034 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/6.169, allocations: 8 kB / 4.034 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/6.17, allocations: 6.028 MB / 4.04 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/6.17, allocations: 0 / 4.04 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/6.171, allocations: 0.6181 MB / 4.04 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/6.171, allocations: 223.8 kB / 4.041 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/6.171, allocations: 8 kB / 4.041 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/6.172, allocations: 51.89 kB / 4.041 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/6.172, allocations: 31.89 kB / 4.041 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/6.172, allocations: 19.88 kB / 4.041 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007288/6.172, allocations: 0.7836 MB / 4.041 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/6.172, allocations: 0 / 4.041 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001117/6.174, allocations: 479.7 kB / 4.042 GB, free: 113.8 MB / 0.8855 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * 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.001128/6.175, allocations: 0.9305 MB / 4.043 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002469/6.177, allocations: 1.075 MB / 4.044 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/6.177, allocations: 0 / 4.044 GB, free: 111.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006399/6.178, allocations: 299.7 kB / 4.044 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/6.18, allocations: 452.9 kB / 4.045 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/6.182, allocations: 2.023 MB / 4.046 GB, free: 109 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/6.182, allocations: 1.18 MB / 4.048 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008783/6.183, allocations: 375.7 kB / 4.048 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/6.183, allocations: 67.44 kB / 4.048 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/6.183, allocations: 0 / 4.048 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.0317/6.215, allocations: 27.81 MB / 4.075 GB, free: 79.66 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)