Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 143.3 MB / 158.3 MB, free: 5.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 183.7 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 84.39 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00183/0.00183, allocations: 274.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005997/0.0005998, allocations: 14.75 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2038, allocations: 82.8 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.736/4.94, allocations: 1.832 GB / 2.606 GB, free: 190 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/4.94, allocations: 95.11 kB / 2.606 GB, free: 190 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.035/8.975, allocations: 1.09 GB / 3.696 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.056e-06/8.975, allocations: 3.938 kB / 3.696 GB, free: 176.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001374/8.975, allocations: 29.36 kB / 3.696 GB, free: 176.6 MB / 0.7136 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.005675/8.981, allocations: 1.574 MB / 3.697 GB, free: 176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/8.981, allocations: 17.95 kB / 3.697 GB, free: 176 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002926/8.981, allocations: 98.2 kB / 3.698 GB, free: 175.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/8.982, allocations: 196.8 kB / 3.698 GB, free: 175.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/8.986, allocations: 1.476 MB / 3.699 GB, free: 175.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/8.986, allocations: 48.73 kB / 3.699 GB, free: 175.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/8.986, allocations: 66.91 kB / 3.699 GB, free: 175.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/8.988, allocations: 0.9494 MB / 3.7 GB, free: 175.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/8.988, allocations: 6.938 kB / 3.7 GB, free: 175.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/8.988, allocations: 26.28 kB / 3.7 GB, free: 175.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/8.988, allocations: 13.25 kB / 3.7 GB, free: 175.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/8.989, allocations: 0.754 MB / 3.701 GB, free: 175.3 MB / 0.7136 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.004527/8.994, allocations: 4.696 MB / 3.706 GB, free: 172.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/8.996, allocations: 4.016 MB / 3.71 GB, free: 168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/8.996, allocations: 192.4 kB / 3.71 GB, free: 167.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/8.996, allocations: 331.4 kB / 3.71 GB, free: 167.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005416/8.997, allocations: 28.64 kB / 3.71 GB, free: 167.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.345e-06/8.997, allocations: 0 / 3.71 GB, free: 167.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.003494/9, allocations: 1.441 MB / 3.711 GB, free: 167.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/9.001, allocations: 84.05 kB / 3.712 GB, free: 167.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/9.002, allocations: 1.046 MB / 3.713 GB, free: 167.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/9.002, allocations: 40.36 kB / 3.713 GB, free: 167.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/9.002, allocations: 0.5154 MB / 3.713 GB, free: 167.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/9.002, allocations: 126.7 kB / 3.713 GB, free: 167 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/9.002, allocations: 11.09 kB / 3.713 GB, free: 167 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/9.003, allocations: 326.5 kB / 3.714 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/9.003, allocations: 207.1 kB / 3.714 GB, free: 166.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/9.003, allocations: 0.5572 MB / 3.714 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/9.004, allocations: 328.2 kB / 3.715 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/9.004, allocations: 3.375 kB / 3.715 GB, free: 166.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001524/9.005, allocations: 1.005 MB / 3.716 GB, free: 166.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005419/9.006, allocations: 2.227 MB / 3.718 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/9.006, allocations: 6.062 kB / 3.718 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/9.007, allocations: 335.2 kB / 3.718 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/9.007, allocations: 71.83 kB / 3.718 GB, free: 163.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/9.008, allocations: 1.134 MB / 3.719 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/9.01, allocations: 103.4 kB / 3.719 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/9.01, allocations: 29.12 kB / 3.719 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/9.01, allocations: 5.094 kB / 3.719 GB, free: 163.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/9.011, allocations: 0.8205 MB / 3.72 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/9.011, allocations: 11.2 kB / 3.72 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/9.012, allocations: 244.8 kB / 3.72 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/9.012, allocations: 78.64 kB / 3.721 GB, free: 163.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/9.015, allocations: 3.174 MB / 3.724 GB, free: 161.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/9.017, allocations: 101.5 kB / 3.724 GB, free: 161.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/9.017, allocations: 31.92 kB / 3.724 GB, free: 161.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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.0007843/9.018, allocations: 472.5 kB / 3.724 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/9.018, allocations: 111.2 kB / 3.724 GB, free: 161.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/9.019, allocations: 0.8306 MB / 3.725 GB, free: 161.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/9.019, allocations: 5.562 kB / 3.725 GB, free: 161.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/9.019, allocations: 0 / 3.725 GB, free: 161.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/9.019, allocations: 0 / 3.725 GB, free: 161.5 MB / 0.7136 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.003017/9.022, allocations: 2.197 MB / 3.727 GB, free: 160.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/9.022, allocations: 9.578 kB / 3.727 GB, free: 160.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/9.023, allocations: 48.14 kB / 3.727 GB, free: 160.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/9.023, allocations: 244.1 kB / 3.728 GB, free: 160.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/9.023, allocations: 15.11 kB / 3.728 GB, free: 160.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007687/9.024, allocations: 0.9296 MB / 3.728 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/9.024, allocations: 3.469 kB / 3.728 GB, free: 160.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/9.025, allocations: 1.001 MB / 3.729 GB, free: 159.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000618/9.026, allocations: 236.9 kB / 3.73 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/9.026, allocations: 13.97 kB / 3.73 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006733/9.027, allocations: 79.77 kB / 3.73 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/9.027, allocations: 36.5 kB / 3.73 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/9.027, allocations: 7.594 kB / 3.73 GB, free: 159.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001126/9.028, allocations: 0.8275 MB / 3.731 GB, free: 159.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/9.028, allocations: 11.25 kB / 3.731 GB, free: 159.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002126/9.03, allocations: 0.6069 MB / 3.731 GB, free: 159.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (23): * Single equations (assignments): 20 * 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.003087/9.033, allocations: 2.997 MB / 3.734 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002665/9.036, allocations: 1.299 MB / 3.735 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/9.036, allocations: 2.953 kB / 3.735 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/9.036, allocations: 328.7 kB / 3.736 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/9.04, allocations: 0.645 MB / 3.736 GB, free: 157.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/9.052, allocations: 10.6 MB / 3.747 GB, free: 151.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/9.053, allocations: 1.234 MB / 3.748 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001289/9.054, allocations: 382.2 kB / 3.748 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/9.055, allocations: 352.5 kB / 3.749 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/9.055, allocations: 0 / 3.749 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07421/9.129, allocations: 48.22 MB / 3.796 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/9.129, allocations: 283.8 kB / 3.796 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/12.8, allocations: 0 / 3.796 GB, free: 127.8 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)