Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8552/0.8552, allocations: 143.4 MB / 158.3 MB, free: 5.797 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 181 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.2 MB / 447.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009387, allocations: 84.34 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00175/0.00175, allocations: 283.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 13.94 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1982, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.856/5.054, allocations: 1.83 GB / 2.603 GB, free: 192 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/5.055, allocations: 102.4 kB / 2.603 GB, free: 192 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.069/9.124, allocations: 1.081 GB / 3.684 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/9.124, allocations: 0 / 3.684 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001233/9.124, allocations: 35.47 kB / 3.684 GB, free: 176.6 MB / 0.7136 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.006563/9.13, allocations: 1.579 MB / 3.686 GB, free: 176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/9.13, allocations: 11.56 kB / 3.686 GB, free: 176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/9.132, allocations: 200.3 kB / 3.686 GB, free: 175.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/9.137, allocations: 1.439 MB / 3.687 GB, free: 175.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/9.137, allocations: 56.19 kB / 3.687 GB, free: 175.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/9.137, allocations: 70.77 kB / 3.687 GB, free: 175.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/9.139, allocations: 0.9488 MB / 3.688 GB, free: 175.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/9.139, allocations: 8.875 kB / 3.688 GB, free: 175.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/9.139, allocations: 20.59 kB / 3.688 GB, free: 175.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/9.139, allocations: 13.31 kB / 3.688 GB, free: 175.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/9.14, allocations: 0.7674 MB / 3.689 GB, free: 175.4 MB / 0.7136 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.006415/9.147, allocations: 4.72 MB / 3.694 GB, free: 172.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/9.149, allocations: 4.055 MB / 3.698 GB, free: 168.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/9.15, allocations: 199.7 kB / 3.698 GB, free: 167.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/9.15, allocations: 325.1 kB / 3.698 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000584/9.151, allocations: 32.34 kB / 3.698 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.938e-06/9.151, allocations: 3.406 kB / 3.698 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.003244/9.154, allocations: 1.301 MB / 3.699 GB, free: 167.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/9.154, allocations: 86.84 kB / 3.7 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/9.156, allocations: 1.04 MB / 3.701 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/9.156, allocations: 40.7 kB / 3.701 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/9.156, allocations: 0.5174 MB / 3.701 GB, free: 167.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/9.156, allocations: 125.4 kB / 3.701 GB, free: 167.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/9.156, allocations: 9.438 kB / 3.701 GB, free: 167.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/9.156, allocations: 328 kB / 3.702 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/9.157, allocations: 217.5 kB / 3.702 GB, free: 166.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/9.157, allocations: 0.5527 MB / 3.702 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/9.158, allocations: 318.2 kB / 3.703 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/9.158, allocations: 3.938 kB / 3.703 GB, free: 166.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001603/9.159, allocations: 0.9886 MB / 3.704 GB, free: 166.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005522/9.16, allocations: 2.226 MB / 3.706 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/9.16, allocations: 4.719 kB / 3.706 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/9.161, allocations: 292.6 kB / 3.706 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/9.161, allocations: 87.69 kB / 3.706 GB, free: 163.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/9.163, allocations: 1.66 MB / 3.708 GB, free: 162.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/9.164, allocations: 103.5 kB / 3.708 GB, free: 162.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/9.164, allocations: 29.66 kB / 3.708 GB, free: 162.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/9.164, allocations: 3.969 kB / 3.708 GB, free: 162.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/9.165, allocations: 0.8018 MB / 3.709 GB, free: 162.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/9.165, allocations: 3.906 kB / 3.709 GB, free: 162.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/9.166, allocations: 214.9 kB / 3.709 GB, free: 162.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/9.166, allocations: 79.59 kB / 3.709 GB, free: 162.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/9.17, allocations: 2.964 MB / 3.712 GB, free: 161.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/9.171, allocations: 95.61 kB / 3.712 GB, free: 161.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/9.171, allocations: 33.2 kB / 3.712 GB, free: 161.3 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008462/9.172, allocations: 480.9 kB / 3.712 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003131/9.172, allocations: 112.3 kB / 3.712 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/9.174, allocations: 0.7954 MB / 3.713 GB, free: 161 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/9.174, allocations: 3.375 kB / 3.713 GB, free: 161 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/9.174, allocations: 6.125 kB / 3.713 GB, free: 161 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/9.174, allocations: 0 / 3.713 GB, free: 161 MB / 0.7136 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.00351/9.177, allocations: 2.161 MB / 3.715 GB, free: 160.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/9.177, allocations: 11.45 kB / 3.715 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/9.178, allocations: 57.84 kB / 3.715 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003914/9.178, allocations: 198.7 kB / 3.716 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/9.178, allocations: 13.25 kB / 3.716 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/9.179, allocations: 1.466 MB / 3.717 GB, free: 159 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/9.179, allocations: 6.766 kB / 3.717 GB, free: 159 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/9.18, allocations: 0.9698 MB / 3.718 GB, free: 158.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/9.181, allocations: 233.4 kB / 3.718 GB, free: 158.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/9.181, allocations: 10.19 kB / 3.718 GB, free: 158.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/9.182, allocations: 80.17 kB / 3.718 GB, free: 158.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/9.182, allocations: 33.73 kB / 3.718 GB, free: 158.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/9.182, allocations: 14.19 kB / 3.718 GB, free: 158.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001262/9.184, allocations: 0.8304 MB / 3.719 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/9.184, allocations: 0 / 3.719 GB, free: 158.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002455/9.186, allocations: 0.5988 MB / 3.72 GB, free: 158.3 MB / 0.7136 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/9.188, allocations: 1.068 MB / 3.721 GB, free: 158.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002732/9.191, allocations: 1.29 MB / 3.722 GB, free: 157.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/9.191, allocations: 3.656 kB / 3.722 GB, free: 157.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/9.191, allocations: 311.4 kB / 3.722 GB, free: 157.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00317/9.195, allocations: 0.6483 MB / 3.723 GB, free: 157.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/9.198, allocations: 2.225 MB / 3.725 GB, free: 156.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007692/9.199, allocations: 1.237 MB / 3.726 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001297/9.2, allocations: 385 kB / 3.727 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/9.201, allocations: 68.09 kB / 3.727 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.193e-06/9.201, allocations: 3.938 kB / 3.727 GB, free: 156.1 MB / 0.7136 GB Notification: Performance of Templates: time 0.04896/9.25, allocations: 33.2 MB / 3.759 GB, free: 154.9 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)