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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7706/0.7706, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001321/0.001321, allocations: 184.4 kB / 173.7 MB, free: 6.105 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.76/1.76, allocations: 205.4 MB / 409 MB, free: 10.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.0009946/0.0009942, allocations: 89.59 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 9.719 kB / 0.5604 GB, free: 97.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1959, allocations: 76.78 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.451/5.647, allocations: 2.139 GB / 2.774 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/5.648, allocations: 99.89 kB / 2.774 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.468/12.12, allocations: 1.953 GB / 4.728 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/12.12, allocations: 0 / 4.728 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001416/12.12, allocations: 30.41 kB / 4.728 GB, free: 147.4 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.004672/12.12, allocations: 1.573 MB / 4.729 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/12.12, allocations: 9.5 kB / 4.729 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/12.12, allocations: 111.6 kB / 4.729 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009829/12.12, allocations: 194.1 kB / 4.729 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/12.13, allocations: 1.46 MB / 4.731 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/12.13, allocations: 54.78 kB / 4.731 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/12.13, allocations: 61.41 kB / 4.731 GB, free: 146.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/12.13, allocations: 1.821 MB / 4.733 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/12.13, allocations: 2.75 kB / 4.733 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/12.13, allocations: 21.69 kB / 4.733 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/12.13, allocations: 15.34 kB / 4.733 GB, free: 146.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/12.14, allocations: 1.634 MB / 4.734 GB, free: 146.3 MB / 0.6511 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.004787/12.14, allocations: 4.659 MB / 4.739 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005513/12.15, allocations: 4.96 MB / 4.744 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/12.15, allocations: 199.6 kB / 4.744 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00409/12.15, allocations: 1.188 MB / 4.745 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006464/12.15, allocations: 34.91 kB / 4.745 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/12.15, allocations: 0 / 4.745 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.0233/12.17, allocations: 5.729 MB / 4.751 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/12.17, allocations: 83.08 kB / 4.751 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/12.18, allocations: 1.041 MB / 4.752 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/12.18, allocations: 42.92 kB / 4.752 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/12.18, allocations: 0.5216 MB / 4.752 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/12.18, allocations: 126.7 kB / 4.753 GB, free: 138 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/12.18, allocations: 11.62 kB / 4.753 GB, free: 138 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.087e-05/12.18, allocations: 327 kB / 4.753 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/12.18, allocations: 0.5676 MB / 4.753 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/12.18, allocations: 0.9053 MB / 4.754 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/12.18, allocations: 0.6386 MB / 4.755 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/12.18, allocations: 3.844 kB / 4.755 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01727/12.2, allocations: 4.393 MB / 4.759 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005403/12.2, allocations: 2.144 MB / 4.761 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/12.2, allocations: 3.5 kB / 4.761 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/12.2, allocations: 1.012 MB / 4.762 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/12.2, allocations: 84.14 kB / 4.762 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/12.21, allocations: 2.285 MB / 4.765 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/12.21, allocations: 246.3 kB / 4.765 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/12.21, allocations: 34.08 kB / 4.765 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/12.21, allocations: 3.812 kB / 4.765 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001314/12.21, allocations: 0.7778 MB / 4.766 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/12.21, allocations: 9.281 kB / 4.766 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/12.21, allocations: 222.6 kB / 4.766 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/12.21, allocations: 81.92 kB / 4.766 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/12.21, allocations: 2.94 MB / 4.769 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/12.21, allocations: 99.23 kB / 4.769 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/12.21, allocations: 25.62 kB / 4.769 GB, free: 133 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 () * 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.0007349/12.22, allocations: 474.5 kB / 4.769 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/12.22, allocations: 116.3 kB / 4.769 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/12.22, allocations: 132.7 kB / 4.77 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/12.22, allocations: 3.969 kB / 4.77 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/12.22, allocations: 0 / 4.77 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/12.22, allocations: 3.656 kB / 4.77 GB, free: 132.7 MB / 0.6511 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.02019/12.24, allocations: 6.124 MB / 4.776 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/12.24, allocations: 0 / 4.776 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/12.24, allocations: 57.02 kB / 4.776 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/12.24, allocations: 0.9451 MB / 4.777 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/12.24, allocations: 18.62 kB / 4.777 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02965/12.27, allocations: 10.82 MB / 4.787 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/12.27, allocations: 6.953 kB / 4.787 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/12.29, allocations: 4.356 MB / 4.791 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/12.29, allocations: 186.6 kB / 4.792 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/12.29, allocations: 6.906 kB / 4.792 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/12.29, allocations: 208.6 kB / 4.792 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/12.29, allocations: 60.33 kB / 4.792 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/12.29, allocations: 18.91 kB / 4.792 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001092/12.29, allocations: 0.8287 MB / 4.793 GB, free: 130 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/12.29, allocations: 0 / 4.793 GB, free: 130 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002145/12.29, allocations: 0.6904 MB / 4.793 GB, free: 130 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) * 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.01839/12.31, allocations: 6.35 MB / 4.8 GB, free: 128.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004532/12.31, allocations: 1.972 MB / 4.801 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/12.31, allocations: 0 / 4.801 GB, free: 128 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001705/12.32, allocations: 0.7833 MB / 4.802 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/12.32, allocations: 0.6465 MB / 4.803 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/12.35, allocations: 14.68 MB / 4.817 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/12.35, allocations: 1.237 MB / 4.818 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001388/12.35, allocations: 354.4 kB / 4.819 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/12.35, allocations: 366.7 kB / 4.819 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.153e-06/12.35, allocations: 4 kB / 4.819 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08352/12.44, allocations: 60.28 MB / 4.878 GB, free: 55.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/12.44, allocations: 291.7 kB / 4.878 GB, free: 55.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.844/16.28, allocations: 6.234 kB / 4.878 GB, free: 55.52 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)