Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.7487/0.7487, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001179/0.001178, allocations: 183.8 kB / 169.7 MB, free: 1.75 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.819/1.819, allocations: 205.1 MB / 404.5 MB, free: 1.613 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.001079/0.001079, allocations: 89.84 kB / 481.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.413e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1699, allocations: 76.76 MB / 0.6283 GB, free: 9.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.836/6.006, allocations: 2.142 GB / 2.77 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/6.007, allocations: 93.69 kB / 2.77 GB, free: 139 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.826/9.833, allocations: 1.066 GB / 3.836 GB, free: 76.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.964e-06/9.833, allocations: 0 / 3.836 GB, free: 76.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002104/9.833, allocations: 31.98 kB / 3.836 GB, free: 76.79 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.004589/9.838, allocations: 1.265 MB / 3.837 GB, free: 75.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/9.838, allocations: 15.97 kB / 3.837 GB, free: 75.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00038/9.838, allocations: 94.52 kB / 3.837 GB, free: 75.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/9.839, allocations: 202.8 kB / 3.837 GB, free: 75.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/9.844, allocations: 1.476 MB / 3.839 GB, free: 73.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/9.844, allocations: 45.31 kB / 3.839 GB, free: 73.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/9.844, allocations: 68 kB / 3.839 GB, free: 73.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/9.848, allocations: 1.35 MB / 3.84 GB, free: 72.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/9.848, allocations: 3.938 kB / 3.84 GB, free: 72.08 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/9.848, allocations: 28 kB / 3.84 GB, free: 72.05 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/9.848, allocations: 19.94 kB / 3.84 GB, free: 72.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/9.851, allocations: 1.144 MB / 3.841 GB, free: 70.89 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.004846/9.856, allocations: 4.605 MB / 3.846 GB, free: 65.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/9.859, allocations: 4.432 MB / 3.85 GB, free: 60.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/9.86, allocations: 329.3 kB / 3.85 GB, free: 60.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/9.86, allocations: 194.4 kB / 3.851 GB, free: 60.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/9.863, allocations: 0.7393 MB / 3.851 GB, free: 59.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005901/9.863, allocations: 31.69 kB / 3.851 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/9.863, allocations: 0 / 3.851 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.01183/9.875, allocations: 2.728 MB / 3.854 GB, free: 56.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/9.875, allocations: 81.11 kB / 3.854 GB, free: 56.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/9.877, allocations: 1.035 MB / 3.855 GB, free: 55.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/9.877, allocations: 37.7 kB / 3.855 GB, free: 55.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/9.878, allocations: 0.521 MB / 3.856 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/9.878, allocations: 126.3 kB / 3.856 GB, free: 54.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/9.878, allocations: 8 kB / 3.856 GB, free: 54.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/9.878, allocations: 330 kB / 3.856 GB, free: 54.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/9.878, allocations: 312.9 kB / 3.856 GB, free: 54.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/9.879, allocations: 0.6448 MB / 3.857 GB, free: 53.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/9.88, allocations: 403.2 kB / 3.857 GB, free: 52.94 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/9.88, allocations: 7.984 kB / 3.857 GB, free: 52.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.008448/9.888, allocations: 2.285 MB / 3.86 GB, free: 50.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005245/9.889, allocations: 2.145 MB / 3.862 GB, free: 48.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/9.889, allocations: 8 kB / 3.862 GB, free: 48.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/9.89, allocations: 0.6283 MB / 3.862 GB, free: 47.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/9.89, allocations: 79.81 kB / 3.862 GB, free: 47.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/9.895, allocations: 2.163 MB / 3.865 GB, free: 45.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/9.897, allocations: 171.6 kB / 3.865 GB, free: 45.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/9.897, allocations: 31.97 kB / 3.865 GB, free: 45.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/9.897, allocations: 4 kB / 3.865 GB, free: 45.23 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/9.899, allocations: 0.7713 MB / 3.865 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/9.899, allocations: 8.109 kB / 3.865 GB, free: 44.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/9.899, allocations: 252.5 kB / 3.866 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/9.9, allocations: 67.89 kB / 3.866 GB, free: 44.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00371/9.903, allocations: 3.101 MB / 3.869 GB, free: 40.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/9.905, allocations: 99.7 kB / 3.869 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.932e-05/9.905, allocations: 27.98 kB / 3.869 GB, free: 40.77 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002717/9.905, allocations: 144.9 kB / 3.869 GB, free: 40.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/9.905, allocations: 102.7 kB / 3.869 GB, free: 40.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003325/9.906, allocations: 126.5 kB / 3.869 GB, free: 40.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/9.906, allocations: 4 kB / 3.869 GB, free: 40.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/9.906, allocations: 7.891 kB / 3.869 GB, free: 40.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/9.906, allocations: 0 / 3.869 GB, free: 40.38 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.01119/9.917, allocations: 3.836 MB / 3.873 GB, free: 36.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/9.917, allocations: 0 / 3.873 GB, free: 36.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/9.917, allocations: 48.19 kB / 3.873 GB, free: 36.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008094/9.918, allocations: 0.5317 MB / 3.874 GB, free: 35.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/9.918, allocations: 15.98 kB / 3.874 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/9.941, allocations: 8.268 MB / 3.882 GB, free: 27.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/9.941, allocations: 8 kB / 3.882 GB, free: 27.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008105/9.95, allocations: 2.258 MB / 3.884 GB, free: 25.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006139/9.95, allocations: 187.8 kB / 3.884 GB, free: 24.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/9.951, allocations: 8 kB / 3.884 GB, free: 24.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/9.952, allocations: 151.6 kB / 3.884 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/9.952, allocations: 55.88 kB / 3.884 GB, free: 24.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/9.952, allocations: 11.98 kB / 3.884 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001345/9.954, allocations: 0.8104 MB / 3.885 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.91e-07/9.954, allocations: 0 / 3.885 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002962/9.957, allocations: 0.6599 MB / 3.886 GB, free: 23.14 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01004/9.967, allocations: 4.321 MB / 3.89 GB, free: 18.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00631/9.973, allocations: 2.152 MB / 3.892 GB, free: 16.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/9.973, allocations: 4 kB / 3.892 GB, free: 16.52 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/9.977, allocations: 1.229 MB / 3.893 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/9.981, allocations: 0.6445 MB / 3.894 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/9.985, allocations: 1.905 MB / 3.896 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/9.986, allocations: 1.235 MB / 3.897 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002187/9.988, allocations: 0.7502 MB / 3.898 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/9.989, allocations: 343.3 kB / 3.898 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of SimCode: time 1.703e-06/9.989, allocations: 0 / 3.898 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4913/10.48, allocations: 59.45 MB / 3.956 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/10.48, allocations: 242.4 kB / 3.956 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.048/14.53, allocations: 6.031 kB / 3.956 GB, free: 141.8 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)