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 0.6717/0.6717, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009537/0.0009536, allocations: 177 kB / 187.2 MB, free: 11.88 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.183/1.183, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0008847/0.0008848, allocations: 93.12 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001613/0.001613, allocations: 264.6 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.732e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.284/3.613, allocations: 1.832 GB / 2.596 GB, free: 174.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/3.614, allocations: 97.27 kB / 2.597 GB, free: 174.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.054/6.668, allocations: 1.089 GB / 3.686 GB, free: 159.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.022e-06/6.668, allocations: 0 / 3.686 GB, free: 159.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001419/6.668, allocations: 31.91 kB / 3.686 GB, free: 159.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003788/6.672, allocations: 1.266 MB / 3.687 GB, free: 158.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/6.672, allocations: 8.031 kB / 3.687 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002731/6.672, allocations: 102.5 kB / 3.687 GB, free: 158.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/6.673, allocations: 202.3 kB / 3.687 GB, free: 158 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/6.677, allocations: 1.454 MB / 3.689 GB, free: 156.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/6.677, allocations: 45.31 kB / 3.689 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/6.677, allocations: 64 kB / 3.689 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/6.678, allocations: 0.9254 MB / 3.69 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/6.678, allocations: 3.938 kB / 3.69 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.822e-05/6.678, allocations: 24 kB / 3.69 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/6.678, allocations: 15.95 kB / 3.69 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/6.679, allocations: 0.7142 MB / 3.69 GB, free: 154.7 MB / 0.698 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.003529/6.683, allocations: 4.695 MB / 3.695 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/6.684, allocations: 3.969 MB / 3.699 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/6.684, allocations: 333.2 kB / 3.699 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/6.684, allocations: 194.8 kB / 3.699 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/6.685, allocations: 304.6 kB / 3.7 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003451/6.685, allocations: 38.97 kB / 3.7 GB, free: 144 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.234e-06/6.685, allocations: 0 / 3.7 GB, free: 144 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001235/6.686, allocations: 0.7663 MB / 3.7 GB, free: 143.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/6.686, allocations: 85.09 kB / 3.7 GB, free: 143.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/6.687, allocations: 1.028 MB / 3.701 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/6.688, allocations: 37.7 kB / 3.701 GB, free: 142 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/6.688, allocations: 0.5165 MB / 3.702 GB, free: 141.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/6.688, allocations: 122.3 kB / 3.702 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/6.688, allocations: 15.94 kB / 3.702 GB, free: 141.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/6.688, allocations: 330 kB / 3.702 GB, free: 141 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/6.688, allocations: 193 kB / 3.703 GB, free: 140.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/6.689, allocations: 0.5248 MB / 3.703 GB, free: 140.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/6.689, allocations: 311.4 kB / 3.703 GB, free: 139.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/6.689, allocations: 3.953 kB / 3.703 GB, free: 139.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001176/6.69, allocations: 0.9638 MB / 3.704 GB, free: 138.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003454/6.69, allocations: 2.222 MB / 3.707 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/6.69, allocations: 8 kB / 3.707 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/6.691, allocations: 344.1 kB / 3.707 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/6.691, allocations: 75.89 kB / 3.707 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/6.692, allocations: 1.124 MB / 3.708 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/6.693, allocations: 103.7 kB / 3.708 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/6.693, allocations: 24 kB / 3.708 GB, free: 134.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/6.694, allocations: 4 kB / 3.708 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001081/6.695, allocations: 0.7747 MB / 3.709 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/6.695, allocations: 8 kB / 3.709 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004619/6.695, allocations: 245.1 kB / 3.709 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/6.695, allocations: 83.88 kB / 3.709 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/6.698, allocations: 3.09 MB / 3.712 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/6.699, allocations: 103.8 kB / 3.712 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/6.699, allocations: 24 kB / 3.712 GB, free: 130.3 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 () * 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.0001447/6.7, allocations: 142.3 kB / 3.713 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/6.7, allocations: 110.6 kB / 3.713 GB, free: 130.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/6.701, allocations: 0.7928 MB / 3.713 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/6.701, allocations: 4 kB / 3.713 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/6.701, allocations: 0 / 3.713 GB, free: 129.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/6.701, allocations: 0 / 3.713 GB, free: 129.3 MB / 0.698 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.00233/6.703, allocations: 2.151 MB / 3.715 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/6.703, allocations: 7.984 kB / 3.716 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/6.703, allocations: 48.02 kB / 3.716 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003991/6.704, allocations: 241.5 kB / 3.716 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/6.704, allocations: 12 kB / 3.716 GB, free: 126.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006542/6.705, allocations: 0.9356 MB / 3.717 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/6.705, allocations: 3.953 kB / 3.717 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008516/6.705, allocations: 0.954 MB / 3.718 GB, free: 124.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/6.706, allocations: 243.7 kB / 3.718 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/6.706, allocations: 8 kB / 3.718 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006884/6.707, allocations: 83.75 kB / 3.718 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/6.707, allocations: 39.84 kB / 3.718 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/6.707, allocations: 12 kB / 3.718 GB, free: 124.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008146/6.708, allocations: 0.8184 MB / 3.719 GB, free: 123.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.708, allocations: 0 / 3.719 GB, free: 123.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001509/6.709, allocations: 0.605 MB / 3.719 GB, free: 122.8 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) * 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.00203/6.711, allocations: 2.959 MB / 3.722 GB, free: 119.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001967/6.713, allocations: 1.259 MB / 3.724 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/6.713, allocations: 3.938 kB / 3.724 GB, free: 118.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/6.714, allocations: 300.5 kB / 3.724 GB, free: 118.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/6.717, allocations: 0.6561 MB / 3.724 GB, free: 117.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/6.719, allocations: 1.775 MB / 3.726 GB, free: 115.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/6.72, allocations: 1.231 MB / 3.727 GB, free: 114.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001847/6.721, allocations: 0.7967 MB / 3.728 GB, free: 113.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/6.722, allocations: 335.3 kB / 3.728 GB, free: 113.3 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/6.722, allocations: 0 / 3.728 GB, free: 113.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06363/6.785, allocations: 52.56 MB / 3.78 GB, free: 61.05 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/6.786, allocations: 244.2 kB / 3.78 GB, free: 60.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.236/10.02, allocations: 4 kB / 3.78 GB, free: 60.72 MB / 0.698 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)