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.7234/0.7234, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001178, allocations: 192.7 kB / 169.7 MB, free: 1.723 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.833/1.833, allocations: 205.1 MB / 404.5 MB, free: 1.598 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.0009464/0.0009464, allocations: 87.73 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.146e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 76.76 MB / 0.6283 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.777/5.968, allocations: 2.139 GB / 2.767 GB, free: 190.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/5.968, allocations: 96.12 kB / 2.767 GB, free: 190.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.312/13.28, allocations: 1.951 GB / 4.719 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.724e-06/13.28, allocations: 0 / 4.719 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001556/13.28, allocations: 41.34 kB / 4.719 GB, free: 148.9 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.004575/13.29, allocations: 1.272 MB / 4.72 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/13.29, allocations: 8.75 kB / 4.72 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/13.29, allocations: 99.62 kB / 4.72 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/13.29, allocations: 202 kB / 4.72 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/13.29, allocations: 1.447 MB / 4.722 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/13.29, allocations: 50.44 kB / 4.722 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/13.29, allocations: 66.38 kB / 4.722 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/13.3, allocations: 1.585 MB / 4.723 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/13.3, allocations: 2.562 kB / 4.723 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/13.3, allocations: 23.16 kB / 4.723 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/13.3, allocations: 17.52 kB / 4.723 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004122/13.3, allocations: 1.383 MB / 4.725 GB, free: 147.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.004865/13.3, allocations: 4.639 MB / 4.729 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/13.31, allocations: 4.703 MB / 4.734 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/13.31, allocations: 329.2 kB / 4.734 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/13.31, allocations: 194.8 kB / 4.734 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003388/13.31, allocations: 0.9685 MB / 4.735 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007274/13.31, allocations: 39.69 kB / 4.735 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.525e-06/13.31, allocations: 0 / 4.735 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.01936/13.33, allocations: 4.552 MB / 4.74 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/13.33, allocations: 85.19 kB / 4.74 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/13.34, allocations: 1.031 MB / 4.741 GB, free: 140 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001846/13.34, allocations: 35.86 kB / 4.741 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/13.34, allocations: 0.5326 MB / 4.741 GB, free: 139.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/13.34, allocations: 134.2 kB / 4.741 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/13.34, allocations: 10.59 kB / 4.741 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.82e-05/13.34, allocations: 331.1 kB / 4.742 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004388/13.34, allocations: 353 kB / 4.742 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/13.34, allocations: 0.6825 MB / 4.743 GB, free: 139 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/13.34, allocations: 426.8 kB / 4.743 GB, free: 139 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/13.34, allocations: 3.969 kB / 4.743 GB, free: 139 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0139/13.35, allocations: 3.753 MB / 4.747 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/13.35, allocations: 2.145 MB / 4.749 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/13.35, allocations: 7.656 kB / 4.749 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/13.35, allocations: 0.617 MB / 4.75 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/13.35, allocations: 84.09 kB / 4.75 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/13.36, allocations: 1.703 MB / 4.751 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/13.36, allocations: 240.5 kB / 4.752 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/13.36, allocations: 40.5 kB / 4.752 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/13.36, allocations: 3.688 kB / 4.752 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/13.36, allocations: 0.7361 MB / 4.752 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/13.36, allocations: 3.281 kB / 4.752 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/13.36, allocations: 230.2 kB / 4.752 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/13.36, allocations: 76.33 kB / 4.753 GB, free: 136 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/13.36, allocations: 2.869 MB / 4.755 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/13.36, allocations: 103.4 kB / 4.755 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/13.36, allocations: 25.28 kB / 4.755 GB, free: 134.7 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.0002648/13.36, allocations: 148.3 kB / 4.756 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/13.36, allocations: 110.4 kB / 4.756 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/13.36, allocations: 121.5 kB / 4.756 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/13.36, allocations: 7.688 kB / 4.756 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/13.36, allocations: 0 / 4.756 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/13.36, allocations: 6.688 kB / 4.756 GB, free: 134.5 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.01702/13.38, allocations: 5.481 MB / 4.761 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/13.38, allocations: 3.312 kB / 4.761 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/13.38, allocations: 60.58 kB / 4.761 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007745/13.38, allocations: 0.5451 MB / 4.762 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/13.38, allocations: 17.05 kB / 4.762 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0196/13.4, allocations: 8.15 MB / 4.77 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/13.4, allocations: 3.656 kB / 4.77 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/13.42, allocations: 3.724 MB / 4.773 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/13.42, allocations: 190.5 kB / 4.774 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/13.42, allocations: 10.86 kB / 4.774 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/13.42, allocations: 213.8 kB / 4.774 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/13.42, allocations: 46.39 kB / 4.774 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/13.42, allocations: 19.05 kB / 4.774 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001039/13.42, allocations: 0.8132 MB / 4.775 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.61e-07/13.42, allocations: 0 / 4.775 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002051/13.42, allocations: 0.6887 MB / 4.775 GB, free: 131.8 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.01503/13.44, allocations: 5.708 MB / 4.781 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002861/13.44, allocations: 1.538 MB / 4.782 GB, free: 130 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/13.44, allocations: 112 / 4.782 GB, free: 130 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007869/13.44, allocations: 0.5573 MB / 4.783 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/13.44, allocations: 0.6481 MB / 4.784 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/13.45, allocations: 1.972 MB / 4.786 GB, free: 129.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/13.45, allocations: 1.235 MB / 4.787 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001834/13.45, allocations: 0.7771 MB / 4.787 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/13.45, allocations: 344.9 kB / 4.788 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/13.45, allocations: 0 / 4.788 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08634/13.54, allocations: 64.46 MB / 4.851 GB, free: 87.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/13.54, allocations: 259.9 kB / 4.851 GB, free: 87.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.02/17.56, allocations: 0 / 4.851 GB, free: 87.45 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)