Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.8963/0.8963, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.00122/0.00122, allocations: 181 kB / 191.5 MB, free: 5.754 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.97/1.97, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0009649/0.0009646, allocations: 100.2 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001871, allocations: 274.3 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005978/0.0005978, allocations: 13.62 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2184, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.044/5.263, allocations: 1.83 GB / 2.603 GB, free: 247.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/5.263, allocations: 93.06 kB / 2.603 GB, free: 247.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.246/8.509, allocations: 0.9687 GB / 3.572 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.564e-06/8.509, allocations: 7.938 kB / 3.572 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.793e-05/8.509, allocations: 23.98 kB / 3.572 GB, free: 118.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004443/8.514, allocations: 1.52 MB / 3.574 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/8.514, allocations: 8.031 kB / 3.574 GB, free: 116.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/8.514, allocations: 90.52 kB / 3.574 GB, free: 116.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/8.515, allocations: 185.3 kB / 3.574 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/8.519, allocations: 1.393 MB / 3.575 GB, free: 114.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/8.519, allocations: 49 kB / 3.575 GB, free: 114.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/8.519, allocations: 63.95 kB / 3.575 GB, free: 114.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/8.52, allocations: 0.7888 MB / 3.576 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/8.52, allocations: 4 kB / 3.576 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/8.52, allocations: 20 kB / 3.576 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/8.52, allocations: 16 kB / 3.576 GB, free: 113.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007874/8.521, allocations: 0.5423 MB / 3.577 GB, free: 113.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.003601/8.524, allocations: 4.217 MB / 3.581 GB, free: 108.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006449/8.525, allocations: 447.4 kB / 3.581 GB, free: 108.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/8.525, allocations: 194.1 kB / 3.581 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/8.526, allocations: 326.1 kB / 3.582 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003709/8.526, allocations: 43.69 kB / 3.582 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/8.526, allocations: 0 / 3.582 GB, free: 107.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.003272/8.529, allocations: 1.367 MB / 3.583 GB, free: 106.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/8.529, allocations: 81.11 kB / 3.583 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/8.531, allocations: 1.02 MB / 3.584 GB, free: 105.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/8.531, allocations: 41.7 kB / 3.584 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/8.531, allocations: 488.8 kB / 3.585 GB, free: 104.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/8.531, allocations: 114.4 kB / 3.585 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/8.531, allocations: 12 kB / 3.585 GB, free: 104.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/8.531, allocations: 322 kB / 3.585 GB, free: 104.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/8.532, allocations: 205 kB / 3.585 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/8.532, allocations: 0.5256 MB / 3.586 GB, free: 103.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/8.533, allocations: 314.8 kB / 3.586 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/8.533, allocations: 0 / 3.586 GB, free: 103.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001436/8.534, allocations: 0.9715 MB / 3.587 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006037/8.535, allocations: 2.134 MB / 3.589 GB, free: 99.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/8.535, allocations: 8 kB / 3.589 GB, free: 99.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/8.535, allocations: 300.4 kB / 3.589 GB, free: 99.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/8.536, allocations: 71.89 kB / 3.59 GB, free: 99.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/8.537, allocations: 1.098 MB / 3.591 GB, free: 98.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/8.538, allocations: 91.94 kB / 3.591 GB, free: 98.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/8.538, allocations: 24 kB / 3.591 GB, free: 98.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/8.538, allocations: 11.88 kB / 3.591 GB, free: 98.2 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/8.539, allocations: 0.7924 MB / 3.592 GB, free: 97.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/8.539, allocations: 7.984 kB / 3.592 GB, free: 97.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/8.54, allocations: 230.3 kB / 3.592 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/8.54, allocations: 71.89 kB / 3.592 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/8.543, allocations: 3.072 MB / 3.595 GB, free: 93.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009577/8.544, allocations: 99.8 kB / 3.595 GB, free: 93.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/8.544, allocations: 35.88 kB / 3.595 GB, free: 93.76 MB / 0.7136 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006127/8.545, allocations: 459 kB / 3.595 GB, free: 93.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/8.545, allocations: 106.7 kB / 3.595 GB, free: 93.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/8.546, allocations: 0.777 MB / 3.596 GB, free: 92.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/8.547, allocations: 4 kB / 3.596 GB, free: 92.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/8.547, allocations: 7.953 kB / 3.596 GB, free: 92.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/8.547, allocations: 0 / 3.596 GB, free: 92.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/8.549, allocations: 1.738 MB / 3.598 GB, free: 90.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/8.549, allocations: 4 kB / 3.598 GB, free: 90.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/8.549, allocations: 36.19 kB / 3.598 GB, free: 90.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/8.55, allocations: 272.2 kB / 3.598 GB, free: 90.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/8.55, allocations: 11.98 kB / 3.598 GB, free: 90.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008621/8.55, allocations: 1.028 MB / 3.599 GB, free: 89.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/8.55, allocations: 4 kB / 3.599 GB, free: 89.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/8.552, allocations: 0.9774 MB / 3.6 GB, free: 88.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/8.552, allocations: 223.8 kB / 3.6 GB, free: 87.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/8.552, allocations: 12 kB / 3.6 GB, free: 87.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/8.553, allocations: 67.77 kB / 3.601 GB, free: 87.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/8.553, allocations: 35.89 kB / 3.601 GB, free: 87.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/8.553, allocations: 8 kB / 3.601 GB, free: 87.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001061/8.554, allocations: 0.8119 MB / 3.601 GB, free: 86.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/8.554, allocations: 0 / 3.601 GB, free: 86.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001927/8.556, allocations: 0.5426 MB / 3.602 GB, free: 86.43 MB / 0.7136 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002903/8.559, allocations: 2.712 MB / 3.605 GB, free: 83.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002569/8.562, allocations: 1.236 MB / 3.606 GB, free: 82.38 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/8.562, allocations: 0 / 3.606 GB, free: 82.38 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000557/8.562, allocations: 309 kB / 3.606 GB, free: 82.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/8.566, allocations: 0.6299 MB / 3.607 GB, free: 81.46 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/8.579, allocations: 10.17 MB / 3.617 GB, free: 70.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007152/8.579, allocations: 1.201 MB / 3.618 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001244/8.581, allocations: 312.4 kB / 3.618 GB, free: 69.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/8.581, allocations: 323.3 kB / 3.618 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/8.581, allocations: 0 / 3.618 GB, free: 69.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07468/8.656, allocations: 44.08 MB / 3.661 GB, free: 25.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/8.656, allocations: 288.6 kB / 3.662 GB, free: 25.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.794/12.45, allocations: 0 / 3.662 GB, free: 25.07 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)