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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7211/0.7211, allocations: 117.9 MB / 133.9 MB, free: 9.23 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.001112/0.001111, allocations: 184.5 kB / 161.7 MB, free: 13.99 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.588/1.588, allocations: 205.4 MB / 394.8 MB, free: 10.08 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.0008738/0.0008737, allocations: 89.56 kB / 470.1 MB, free: 29.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004083/0.0004084, allocations: 12 kB / 0.5423 GB, free: 9.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1683, allocations: 74.54 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.992/5.161, allocations: 2.138 GB / 2.753 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/5.161, allocations: 96.5 kB / 2.753 GB, free: 163.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.291/11.45, allocations: 1.949 GB / 4.702 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/11.45, allocations: 0 / 4.702 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002355/11.45, allocations: 41.48 kB / 4.702 GB, free: 111.2 MB / 0.6355 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.005948/11.46, allocations: 1.559 MB / 4.703 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/11.46, allocations: 11.78 kB / 4.703 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/11.46, allocations: 198.5 kB / 4.703 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004277/11.46, allocations: 1.515 MB / 4.705 GB, free: 110 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/11.46, allocations: 47.12 kB / 4.705 GB, free: 110 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/11.46, allocations: 64.75 kB / 4.705 GB, free: 110 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005431/11.47, allocations: 1.825 MB / 4.707 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/11.47, allocations: 8.125 kB / 4.707 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/11.47, allocations: 21.16 kB / 4.707 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/11.47, allocations: 17.22 kB / 4.707 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005022/11.48, allocations: 1.627 MB / 4.708 GB, free: 109.8 MB / 0.6355 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.005855/11.48, allocations: 4.65 MB / 4.713 GB, free: 106.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005816/11.49, allocations: 4.952 MB / 4.718 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/11.49, allocations: 353.9 kB / 4.718 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/11.49, allocations: 197.1 kB / 4.718 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004004/11.49, allocations: 1.186 MB / 4.72 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007664/11.49, allocations: 38.69 kB / 4.72 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 4.599e-06/11.49, allocations: 2.75 kB / 4.72 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.02714/11.52, allocations: 6.804 MB / 4.726 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/11.52, allocations: 84.08 kB / 4.726 GB, free: 102 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/11.52, allocations: 1.169 MB / 4.727 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002141/11.52, allocations: 39.3 kB / 4.727 GB, free: 101.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/11.52, allocations: 0.5308 MB / 4.728 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/11.52, allocations: 121.3 kB / 4.728 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/11.52, allocations: 14.12 kB / 4.728 GB, free: 101.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.676e-05/11.52, allocations: 327.4 kB / 4.728 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/11.52, allocations: 0.5645 MB / 4.729 GB, free: 101.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/11.53, allocations: 0.9057 MB / 4.73 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/11.53, allocations: 1.301 MB / 4.731 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/11.53, allocations: 3.609 kB / 4.731 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01942/11.55, allocations: 5.302 MB / 4.736 GB, free: 100.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001859/11.55, allocations: 278.3 kB / 4.737 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/11.55, allocations: 7.125 kB / 4.737 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/11.55, allocations: 1.001 MB / 4.738 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/11.55, allocations: 92 kB / 4.738 GB, free: 100.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03433/11.59, allocations: 12.79 MB / 4.75 GB, free: 98.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/11.59, allocations: 232.8 kB / 4.75 GB, free: 98.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/11.59, allocations: 33.91 kB / 4.75 GB, free: 98.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/11.59, allocations: 3.688 kB / 4.75 GB, free: 98.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001527/11.59, allocations: 0.7839 MB / 4.751 GB, free: 98.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/11.59, allocations: 7.375 kB / 4.751 GB, free: 98.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/11.59, allocations: 234.2 kB / 4.751 GB, free: 98.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/11.59, allocations: 73.88 kB / 4.751 GB, free: 98.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/11.59, allocations: 2.89 MB / 4.754 GB, free: 97.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/11.59, allocations: 105.8 kB / 4.754 GB, free: 97.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/11.59, allocations: 26.64 kB / 4.754 GB, free: 97.36 MB / 0.6355 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 () * Number of clocked 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.001023/11.6, allocations: 482.8 kB / 4.755 GB, free: 97.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004013/11.6, allocations: 103.2 kB / 4.755 GB, free: 97.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/11.6, allocations: 130.6 kB / 4.755 GB, free: 97.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/11.6, allocations: 3.969 kB / 4.755 GB, free: 97.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/11.6, allocations: 0 / 4.755 GB, free: 97.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/11.6, allocations: 7.719 kB / 4.755 GB, free: 97.09 MB / 0.6355 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.01824/11.61, allocations: 6.121 MB / 4.761 GB, free: 96.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/11.61, allocations: 3.562 kB / 4.761 GB, free: 96.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/11.61, allocations: 54.34 kB / 4.761 GB, free: 96.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/11.62, allocations: 0.9519 MB / 4.762 GB, free: 96.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/11.62, allocations: 12.81 kB / 4.762 GB, free: 96.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0266/11.64, allocations: 10.14 MB / 4.772 GB, free: 94.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/11.64, allocations: 3.75 kB / 4.772 GB, free: 94.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/11.66, allocations: 4.263 MB / 4.776 GB, free: 93.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007124/11.66, allocations: 184.4 kB / 4.776 GB, free: 93.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/11.66, allocations: 15.25 kB / 4.776 GB, free: 93.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/11.66, allocations: 215.2 kB / 4.777 GB, free: 93.63 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/11.66, allocations: 53.11 kB / 4.777 GB, free: 93.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/11.66, allocations: 25.83 kB / 4.777 GB, free: 93.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001481/11.66, allocations: 0.821 MB / 4.777 GB, free: 93.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/11.66, allocations: 0 / 4.777 GB, free: 93.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003433/11.67, allocations: 0.7869 MB / 4.778 GB, free: 93.16 MB / 0.6355 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) * Number of clocked states: 0 () * 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.001942/11.67, allocations: 1.056 MB / 4.779 GB, free: 92.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004792/11.67, allocations: 2.171 MB / 4.781 GB, free: 91.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/11.67, allocations: 3.719 kB / 4.781 GB, free: 91.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/11.68, allocations: 0.7759 MB / 4.782 GB, free: 91.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005187/11.68, allocations: 0.6623 MB / 4.783 GB, free: 90.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/11.69, allocations: 2.508 MB / 4.785 GB, free: 89.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008941/11.69, allocations: 1.22 MB / 4.786 GB, free: 88.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001396/11.69, allocations: 348.5 kB / 4.787 GB, free: 88.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/11.69, allocations: 74.11 kB / 4.787 GB, free: 88.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.232e-06/11.69, allocations: 0 / 4.787 GB, free: 88.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.07608/11.77, allocations: 52.66 MB / 4.838 GB, free: 38.77 MB / 0.6355 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)