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.7205/0.7205, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001142/0.001142, allocations: 184.7 kB / 169.7 MB, free: 1.742 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.806/1.806, 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.001046/0.001046, allocations: 86.47 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.967e-05, allocations: 4 kB / 0.5533 GB, free: 54.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1636, allocations: 76.76 MB / 0.6283 GB, free: 9.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.852/6.016, allocations: 2.142 GB / 2.77 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/6.016, allocations: 98.75 kB / 2.77 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.157/13.17, allocations: 1.961 GB / 4.732 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/13.17, allocations: 0 / 4.732 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001166/13.17, allocations: 38.17 kB / 4.732 GB, free: 135.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003625/13.18, allocations: 1.252 MB / 4.733 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/13.18, allocations: 11.75 kB / 4.733 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/13.18, allocations: 101.6 kB / 4.733 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/13.18, allocations: 204.2 kB / 4.733 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/13.18, allocations: 1.468 MB / 4.734 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/13.18, allocations: 53.09 kB / 4.735 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/13.18, allocations: 62.75 kB / 4.735 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004118/13.19, allocations: 1.594 MB / 4.736 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/13.19, allocations: 3.562 kB / 4.736 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/13.19, allocations: 27.56 kB / 4.736 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/13.19, allocations: 14.09 kB / 4.736 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/13.19, allocations: 1.386 MB / 4.738 GB, free: 134.6 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.004121/13.2, allocations: 4.622 MB / 4.742 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00428/13.2, allocations: 4.674 MB / 4.747 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/13.2, allocations: 318.4 kB / 4.747 GB, free: 127.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/13.2, allocations: 202.8 kB / 4.747 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003194/13.2, allocations: 0.9796 MB / 4.748 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006175/13.2, allocations: 30.08 kB / 4.748 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.124e-06/13.2, allocations: 0 / 4.748 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.01966/13.22, allocations: 4.751 MB / 4.753 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/13.22, allocations: 88.56 kB / 4.753 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/13.23, allocations: 1.024 MB / 4.754 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/13.23, allocations: 38.23 kB / 4.754 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/13.23, allocations: 0.5263 MB / 4.754 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/13.23, allocations: 123.6 kB / 4.755 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/13.23, allocations: 9.875 kB / 4.755 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.211e-05/13.23, allocations: 329.6 kB / 4.755 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/13.23, allocations: 353.2 kB / 4.755 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006906/13.23, allocations: 0.6832 MB / 4.756 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/13.23, allocations: 435 kB / 4.756 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/13.23, allocations: 0 / 4.756 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01481/13.24, allocations: 3.912 MB / 4.76 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006444/13.24, allocations: 2.153 MB / 4.762 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/13.24, allocations: 8.844 kB / 4.762 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/13.25, allocations: 0.6614 MB / 4.763 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/13.25, allocations: 80.2 kB / 4.763 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/13.25, allocations: 1.772 MB / 4.765 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/13.25, allocations: 236.9 kB / 4.765 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/13.25, allocations: 30.34 kB / 4.765 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/13.25, allocations: 3.812 kB / 4.765 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/13.25, allocations: 0.767 MB / 4.766 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/13.25, allocations: 3.938 kB / 4.766 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/13.25, allocations: 260.3 kB / 4.766 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/13.25, allocations: 73.89 kB / 4.766 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003517/13.26, allocations: 3.069 MB / 4.769 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/13.26, allocations: 98.84 kB / 4.769 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/13.26, allocations: 21.38 kB / 4.769 GB, free: 121.4 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 (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.0002424/13.26, allocations: 151.4 kB / 4.769 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/13.26, allocations: 109.2 kB / 4.769 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/13.26, allocations: 119.7 kB / 4.769 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/13.26, allocations: 3.312 kB / 4.769 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/13.26, allocations: 5.469 kB / 4.769 GB, free: 121.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/13.26, allocations: 0 / 4.769 GB, free: 121.2 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.01775/13.28, allocations: 5.66 MB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/13.28, allocations: 7.875 kB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/13.28, allocations: 48.73 kB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/13.28, allocations: 0.5972 MB / 4.776 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-05/13.28, allocations: 18.97 kB / 4.776 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/13.3, allocations: 9.114 MB / 4.785 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/13.3, allocations: 3.938 kB / 4.785 GB, free: 115 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/13.32, allocations: 3.885 MB / 4.788 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/13.32, allocations: 186.4 kB / 4.789 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/13.32, allocations: 11.8 kB / 4.789 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/13.32, allocations: 213.1 kB / 4.789 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/13.32, allocations: 51.27 kB / 4.789 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/13.32, allocations: 15.52 kB / 4.789 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001293/13.32, allocations: 0.8129 MB / 4.79 GB, free: 112 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/13.32, allocations: 0 / 4.79 GB, free: 112 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002989/13.32, allocations: 0.7134 MB / 4.79 GB, free: 111.3 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 (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.01685/13.34, allocations: 5.95 MB / 4.796 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003342/13.34, allocations: 1.554 MB / 4.798 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/13.34, allocations: 0 / 4.798 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/13.34, allocations: 0.6389 MB / 4.798 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/13.35, allocations: 0.6527 MB / 4.799 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/13.35, allocations: 1.962 MB / 4.801 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/13.35, allocations: 1.235 MB / 4.802 GB, free: 99.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002058/13.36, allocations: 0.7537 MB / 4.803 GB, free: 98.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/13.36, allocations: 346.3 kB / 4.803 GB, free: 98.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.382e-06/13.36, allocations: 0 / 4.803 GB, free: 98.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09324/13.45, allocations: 66.4 MB / 4.868 GB, free: 32.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/13.45, allocations: 254.3 kB / 4.868 GB, free: 32.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.16/17.61, allocations: 0 / 4.868 GB, free: 32.24 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)