Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8673/0.8673, allocations: 127.4 MB / 134.9 MB, free: 3.457 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 175.1 kB / 164.6 MB, free: 11.58 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00092/0.00092, allocations: 82.48 kB / 476.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.183e-05, allocations: 5.5 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1583, allocations: 76.77 MB / 0.6215 GB, free: 43.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.111/5.27, allocations: 2.138 GB / 2.76 GB, free: 42.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/5.27, allocations: 95.94 kB / 2.76 GB, free: 42.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.527/12.8, allocations: 1.931 GB / 4.691 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.283e-06/12.8, allocations: 0 / 4.691 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001297/12.8, allocations: 31.67 kB / 4.691 GB, free: 131.6 MB / 0.6511 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.003839/12.8, allocations: 1.267 MB / 4.692 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/12.8, allocations: 13.94 kB / 4.692 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009434/12.8, allocations: 194.3 kB / 4.692 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/12.8, allocations: 1.454 MB / 4.694 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/12.8, allocations: 16 kB / 4.694 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/12.8, allocations: 43.94 kB / 4.694 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009412/12.81, allocations: 0.7091 MB / 4.694 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/12.81, allocations: 0.8434 MB / 4.695 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/12.81, allocations: 4 kB / 4.695 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/12.81, allocations: 3.469 kB / 4.695 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/12.81, allocations: 16 kB / 4.695 GB, free: 126.9 MB / 0.6511 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.00347/12.81, allocations: 4.507 MB / 4.7 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/12.81, allocations: 4.106 MB / 4.704 GB, free: 117.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/12.81, allocations: 337.2 kB / 4.704 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/12.81, allocations: 190.1 kB / 4.704 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/12.81, allocations: 299.3 kB / 4.705 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002867/12.81, allocations: 19.12 kB / 4.705 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 1.954e-06/12.81, allocations: 0 / 4.705 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.01808/12.83, allocations: 4.373 MB / 4.709 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/12.83, allocations: 81.42 kB / 4.709 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/12.83, allocations: 0.8944 MB / 4.71 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/12.83, allocations: 25.7 kB / 4.71 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/12.83, allocations: 0.543 MB / 4.71 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/12.83, allocations: 114.3 kB / 4.71 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/12.83, allocations: 4 kB / 4.71 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.576e-05/12.83, allocations: 333.9 kB / 4.711 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/12.83, allocations: 364.8 kB / 4.711 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/12.83, allocations: 0.6943 MB / 4.712 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/12.83, allocations: 413.1 kB / 4.712 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/12.83, allocations: 4 kB / 4.712 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01564/12.85, allocations: 4.14 MB / 4.716 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004782/12.85, allocations: 2.135 MB / 4.718 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/12.85, allocations: 8 kB / 4.718 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00092/12.85, allocations: 0.6354 MB / 4.719 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/12.85, allocations: 87.72 kB / 4.719 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/12.85, allocations: 1.888 MB / 4.721 GB, free: 99.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/12.86, allocations: 215.6 kB / 4.721 GB, free: 99.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.464e-05/12.86, allocations: 31.98 kB / 4.721 GB, free: 98.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/12.86, allocations: 6.5 kB / 4.721 GB, free: 98.97 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/12.86, allocations: 0.6364 MB / 4.722 GB, free: 98.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/12.86, allocations: 8 kB / 4.722 GB, free: 98.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004858/12.86, allocations: 209.3 kB / 4.722 GB, free: 98.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/12.86, allocations: 79.83 kB / 4.722 GB, free: 98.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/12.86, allocations: 2.785 MB / 4.725 GB, free: 95.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/12.86, allocations: 87.8 kB / 4.725 GB, free: 95.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/12.86, allocations: 28 kB / 4.725 GB, free: 95.03 MB / 0.6511 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_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 (39): * 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): 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002157/12.86, allocations: 122 kB / 4.725 GB, free: 94.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/12.86, allocations: 102.7 kB / 4.725 GB, free: 94.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/12.86, allocations: 110.3 kB / 4.725 GB, free: 94.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/12.86, allocations: 4 kB / 4.725 GB, free: 94.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/12.86, allocations: 4 kB / 4.725 GB, free: 94.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/12.86, allocations: 3.984 kB / 4.725 GB, free: 94.68 MB / 0.6511 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.01613/12.88, allocations: 5.388 MB / 4.73 GB, free: 89.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/12.88, allocations: 4 kB / 4.73 GB, free: 89.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/12.88, allocations: 64.11 kB / 4.73 GB, free: 89.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007444/12.88, allocations: 0.546 MB / 4.731 GB, free: 88.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/12.88, allocations: 11.98 kB / 4.731 GB, free: 88.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/12.9, allocations: 7.949 MB / 4.739 GB, free: 80.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/12.9, allocations: 12 kB / 4.739 GB, free: 80.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/12.91, allocations: 3.694 MB / 4.742 GB, free: 76.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/12.91, allocations: 187.9 kB / 4.743 GB, free: 76.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/12.91, allocations: 7.953 kB / 4.743 GB, free: 76.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/12.91, allocations: 203.6 kB / 4.743 GB, free: 76.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/12.92, allocations: 47.91 kB / 4.743 GB, free: 76.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.562e-05/12.92, allocations: 19.98 kB / 4.743 GB, free: 76.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008343/12.92, allocations: 0.6943 MB / 4.744 GB, free: 75.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/12.92, allocations: 0 / 4.744 GB, free: 75.53 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001926/12.92, allocations: 0.6516 MB / 4.744 GB, free: 74.88 MB / 0.6511 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_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 (25): * 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): 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001545/12.92, allocations: 1.204 MB / 4.745 GB, free: 73.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002354/12.92, allocations: 1.491 MB / 4.747 GB, free: 72.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/12.92, allocations: 4 kB / 4.747 GB, free: 72.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006431/12.92, allocations: 0.5323 MB / 4.747 GB, free: 71.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/12.93, allocations: 0.584 MB / 4.748 GB, free: 71.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/12.93, allocations: 1.641 MB / 4.749 GB, free: 69.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/12.93, allocations: 1.235 MB / 4.751 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001763/12.93, allocations: 0.7491 MB / 4.751 GB, free: 67.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/12.93, allocations: 47.44 kB / 4.751 GB, free: 67.44 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/12.93, allocations: 0 / 4.751 GB, free: 67.44 MB / 0.6511 GB Notification: Performance of Templates: time 0.04182/12.97, allocations: 36.87 MB / 4.787 GB, free: 30.75 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)