Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.7474/0.7474, allocations: 128.7 MB / 143.7 MB, free: 2.32 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.001189/0.001189, allocations: 178.4 kB / 173.7 MB, free: 6.121 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.807/1.807, 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.001164/0.001164, allocations: 98.59 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 14.38 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1722, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/5.676, allocations: 2.142 GB / 2.777 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/5.677, allocations: 97.45 kB / 2.777 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.7/12.38, allocations: 1.963 GB / 4.741 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/12.38, allocations: 0 / 4.741 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000129/12.38, allocations: 38.03 kB / 4.741 GB, free: 139.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004838/12.38, allocations: 1.579 MB / 4.742 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/12.38, allocations: 7.75 kB / 4.742 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002308/12.38, allocations: 101.5 kB / 4.742 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/12.38, allocations: 198.9 kB / 4.742 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/12.39, allocations: 1.476 MB / 4.744 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/12.39, allocations: 52.64 kB / 4.744 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/12.39, allocations: 67.98 kB / 4.744 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/12.39, allocations: 1.839 MB / 4.746 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/12.39, allocations: 0 / 4.746 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/12.39, allocations: 21.88 kB / 4.746 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/12.39, allocations: 17.03 kB / 4.746 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004989/12.4, allocations: 1.657 MB / 4.747 GB, free: 138.1 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.004433/12.4, allocations: 4.611 MB / 4.752 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005293/12.41, allocations: 4.918 MB / 4.757 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/12.41, allocations: 199.1 kB / 4.757 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004229/12.41, allocations: 1.212 MB / 4.758 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006435/12.41, allocations: 31.08 kB / 4.758 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/12.41, allocations: 2.875 kB / 4.758 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.02486/12.44, allocations: 6.031 MB / 4.764 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/12.44, allocations: 81.08 kB / 4.764 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/12.44, allocations: 1.033 MB / 4.765 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001783/12.44, allocations: 46.27 kB / 4.765 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/12.44, allocations: 0.5245 MB / 4.766 GB, free: 130 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/12.44, allocations: 126.9 kB / 4.766 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/12.44, allocations: 7.438 kB / 4.766 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/12.44, allocations: 333.5 kB / 4.766 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/12.44, allocations: 0.5717 MB / 4.767 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/12.44, allocations: 0.9142 MB / 4.768 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/12.44, allocations: 0.6535 MB / 4.768 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/12.44, allocations: 0 / 4.768 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01749/12.46, allocations: 4.581 MB / 4.773 GB, free: 129 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004325/12.46, allocations: 2.139 MB / 4.775 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/12.46, allocations: 6.75 kB / 4.775 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/12.46, allocations: 1.09 MB / 4.776 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/12.46, allocations: 69.81 kB / 4.776 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/12.47, allocations: 2.402 MB / 4.778 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/12.47, allocations: 228.6 kB / 4.778 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/12.47, allocations: 37.16 kB / 4.778 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/12.47, allocations: 3.938 kB / 4.778 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/12.47, allocations: 0.8056 MB / 4.779 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/12.47, allocations: 9.062 kB / 4.779 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/12.47, allocations: 263.2 kB / 4.78 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/12.47, allocations: 77.45 kB / 4.78 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/12.48, allocations: 3.133 MB / 4.783 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/12.48, allocations: 99.42 kB / 4.783 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/12.48, allocations: 28.25 kB / 4.783 GB, free: 124.8 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 (36): * Single equations (assignments): 34 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007898/12.48, allocations: 477.8 kB / 4.783 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/12.48, allocations: 107.2 kB / 4.783 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/12.48, allocations: 131.7 kB / 4.783 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/12.48, allocations: 3.969 kB / 4.783 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/12.48, allocations: 0 / 4.783 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/12.48, allocations: 7.781 kB / 4.783 GB, free: 124.6 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.02085/12.5, allocations: 6.32 MB / 4.79 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/12.5, allocations: 3.953 kB / 4.79 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/12.5, allocations: 54.8 kB / 4.79 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/12.5, allocations: 1.012 MB / 4.791 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/12.5, allocations: 14.64 kB / 4.791 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03247/12.53, allocations: 11.96 MB / 4.802 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/12.53, allocations: 11.39 kB / 4.802 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01735/12.55, allocations: 4.536 MB / 4.807 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/12.55, allocations: 183.3 kB / 4.807 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/12.55, allocations: 14.83 kB / 4.807 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/12.55, allocations: 215 kB / 4.807 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/12.55, allocations: 58.12 kB / 4.807 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/12.55, allocations: 26.5 kB / 4.807 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001006/12.56, allocations: 0.8246 MB / 4.808 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/12.56, allocations: 0 / 4.808 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002186/12.56, allocations: 0.7124 MB / 4.809 GB, free: 120.6 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 (22): * 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): 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01953/12.58, allocations: 6.619 MB / 4.815 GB, free: 116 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00439/12.58, allocations: 1.992 MB / 4.817 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/12.58, allocations: 0 / 4.817 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/12.58, allocations: 0.8758 MB / 4.818 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/12.59, allocations: 0.6454 MB / 4.819 GB, free: 113 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02956/12.62, allocations: 14.89 MB / 4.833 GB, free: 99.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/12.62, allocations: 1.23 MB / 4.834 GB, free: 97.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001163/12.62, allocations: 348.5 kB / 4.835 GB, free: 97.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/12.62, allocations: 365.4 kB / 4.835 GB, free: 97.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.262e-06/12.62, allocations: 4 kB / 4.835 GB, free: 97.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07918/12.7, allocations: 62.09 MB / 4.896 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/12.7, allocations: 281.5 kB / 4.896 GB, free: 36.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.984/16.68, allocations: 2.688 kB / 4.896 GB, free: 36.27 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)