Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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 0.8565/0.8565, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.0016/0.0016, allocations: 185 kB / 191.5 MB, free: 5.77 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.584/1.584, allocations: 223.2 MB / 447.7 MB, free: 6.57 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.0009936/0.0009936, allocations: 95.7 kB / 0.5188 GB, free: 2.91 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: 252.6 kB / 0.6005 GB, free: 49.01 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004861, allocations: 19.98 kB / 0.693 GB, free: 2.219 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4546, allocations: 82.76 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.855/5.31, allocations: 1.83 GB / 2.603 GB, free: 154.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/5.31, allocations: 94.94 kB / 2.604 GB, free: 154.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.684/8.994, allocations: 1.081 GB / 3.684 GB, free: 146.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/8.994, allocations: 0 / 3.684 GB, free: 146.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001282/8.995, allocations: 35.98 kB / 3.684 GB, free: 146.6 MB / 0.698 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.005712/9, allocations: 1.579 MB / 3.686 GB, free: 145 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/9, allocations: 16.02 kB / 3.686 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004531/9.001, allocations: 94.7 kB / 3.686 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/9.002, allocations: 198.4 kB / 3.686 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003942/9.006, allocations: 1.447 MB / 3.687 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/9.006, allocations: 45.31 kB / 3.687 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/9.006, allocations: 64 kB / 3.688 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/9.008, allocations: 0.9565 MB / 3.688 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/9.008, allocations: 7.938 kB / 3.688 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/9.008, allocations: 20 kB / 3.688 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/9.008, allocations: 16 kB / 3.688 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/9.009, allocations: 0.7609 MB / 3.689 GB, free: 141.2 MB / 0.698 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.004634/9.013, allocations: 4.725 MB / 3.694 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/9.015, allocations: 4.053 MB / 3.698 GB, free: 131.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003133/9.016, allocations: 202.8 kB / 3.698 GB, free: 131 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/9.016, allocations: 330.4 kB / 3.698 GB, free: 130.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005965/9.017, allocations: 31.69 kB / 3.698 GB, free: 130.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.866e-06/9.017, allocations: 0 / 3.698 GB, free: 130.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.003163/9.02, allocations: 1.3 MB / 3.7 GB, free: 129.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/9.02, allocations: 89.05 kB / 3.7 GB, free: 129.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/9.021, allocations: 1.038 MB / 3.701 GB, free: 128.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/9.021, allocations: 37.7 kB / 3.701 GB, free: 128.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/9.022, allocations: 0.5181 MB / 3.701 GB, free: 127.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/9.022, allocations: 126.2 kB / 3.701 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/9.022, allocations: 15.94 kB / 3.701 GB, free: 127.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/9.022, allocations: 330 kB / 3.702 GB, free: 127.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/9.022, allocations: 213 kB / 3.702 GB, free: 126.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/9.023, allocations: 0.5512 MB / 3.702 GB, free: 126.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/9.023, allocations: 327.2 kB / 3.703 GB, free: 125.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/9.023, allocations: 7.953 kB / 3.703 GB, free: 125.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001749/9.025, allocations: 0.9819 MB / 3.704 GB, free: 124.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004578/9.025, allocations: 2.221 MB / 3.706 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/9.025, allocations: 8 kB / 3.706 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/9.026, allocations: 281.7 kB / 3.706 GB, free: 122.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/9.026, allocations: 99.77 kB / 3.706 GB, free: 122.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/9.028, allocations: 1.663 MB / 3.708 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/9.029, allocations: 99.83 kB / 3.708 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/9.029, allocations: 28 kB / 3.708 GB, free: 120.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/9.029, allocations: 8.625 kB / 3.708 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/9.031, allocations: 0.7996 MB / 3.709 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/9.031, allocations: 4 kB / 3.709 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004463/9.031, allocations: 221 kB / 3.709 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/9.031, allocations: 79.89 kB / 3.709 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/9.034, allocations: 2.961 MB / 3.712 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/9.036, allocations: 95.86 kB / 3.712 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/9.036, allocations: 27.98 kB / 3.712 GB, free: 116 MB / 0.698 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 (40): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007049/9.036, allocations: 480.5 kB / 3.713 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/9.037, allocations: 114.6 kB / 3.713 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/9.038, allocations: 0.7891 MB / 3.713 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/9.038, allocations: 4 kB / 3.713 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/9.038, allocations: 4 kB / 3.713 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/9.038, allocations: 7.922 kB / 3.713 GB, free: 114.6 MB / 0.698 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.002639/9.041, allocations: 2.151 MB / 3.716 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/9.041, allocations: 3.953 kB / 3.716 GB, free: 112.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/9.041, allocations: 64.22 kB / 3.716 GB, free: 112.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/9.041, allocations: 210.3 kB / 3.716 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/9.041, allocations: 8 kB / 3.716 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008188/9.042, allocations: 1.466 MB / 3.717 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/9.042, allocations: 4.031 kB / 3.717 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/9.043, allocations: 0.974 MB / 3.718 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004946/9.044, allocations: 235.7 kB / 3.718 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/9.044, allocations: 8 kB / 3.718 GB, free: 109.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/9.045, allocations: 83.75 kB / 3.719 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/9.045, allocations: 39.91 kB / 3.719 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/9.045, allocations: 8 kB / 3.719 GB, free: 109 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009318/9.046, allocations: 0.8326 MB / 3.719 GB, free: 108.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/9.046, allocations: 0 / 3.719 GB, free: 108.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001911/9.048, allocations: 0.6049 MB / 3.72 GB, free: 107.6 MB / 0.698 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 (26): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002618/9.05, allocations: 2.941 MB / 3.723 GB, free: 104.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002495/9.053, allocations: 1.277 MB / 3.724 GB, free: 103.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/9.053, allocations: 0 / 3.724 GB, free: 103.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005902/9.053, allocations: 324.6 kB / 3.724 GB, free: 102.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/9.056, allocations: 0.6386 MB / 3.725 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/9.067, allocations: 10.57 MB / 3.735 GB, free: 91.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/9.068, allocations: 1.229 MB / 3.737 GB, free: 90.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001175/9.069, allocations: 380.6 kB / 3.737 GB, free: 89.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/9.069, allocations: 359.3 kB / 3.737 GB, free: 89.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/9.069, allocations: 0 / 3.737 GB, free: 89.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0661/9.135, allocations: 47.23 MB / 3.783 GB, free: 42.59 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/9.136, allocations: 287.7 kB / 3.784 GB, free: 42.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.741/12.88, allocations: 0 / 3.784 GB, free: 42.23 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)