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.6817/0.6817, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009606/0.0009606, allocations: 184.7 kB / 187.3 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.214/1.214, allocations: 221.3 MB / 441.4 MB, free: 4.641 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.0008743/0.0008743, allocations: 94.95 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 275.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.377e-05, allocations: 11.94 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3416, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.494/3.835, allocations: 1.83 GB / 2.594 GB, free: 177.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/3.836, allocations: 94.11 kB / 2.594 GB, free: 177 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.978/6.814, allocations: 1.08 GB / 3.674 GB, free: 170.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/6.814, allocations: 0 / 3.674 GB, free: 170.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001197/6.814, allocations: 31.91 kB / 3.674 GB, free: 170.9 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.003467/6.818, allocations: 1.275 MB / 3.675 GB, free: 169.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/6.818, allocations: 12.03 kB / 3.675 GB, free: 169.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/6.818, allocations: 102.5 kB / 3.675 GB, free: 169.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/6.819, allocations: 201.5 kB / 3.675 GB, free: 169.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/6.822, allocations: 1.434 MB / 3.677 GB, free: 167.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/6.822, allocations: 45.31 kB / 3.677 GB, free: 167.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/6.822, allocations: 70.84 kB / 3.677 GB, free: 167.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/6.823, allocations: 0.9273 MB / 3.678 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/6.823, allocations: 0 / 3.678 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/6.823, allocations: 27.95 kB / 3.678 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/6.823, allocations: 12 kB / 3.678 GB, free: 166.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008616/6.824, allocations: 0.7086 MB / 3.679 GB, free: 166.1 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.003203/6.827, allocations: 4.727 MB / 3.683 GB, free: 161.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/6.829, allocations: 4.007 MB / 3.687 GB, free: 156.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/6.829, allocations: 321.1 kB / 3.687 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/6.829, allocations: 207.7 kB / 3.688 GB, free: 155.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/6.83, allocations: 304.1 kB / 3.688 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003204/6.83, allocations: 23.75 kB / 3.688 GB, free: 155.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 3.877e-06/6.83, allocations: 0 / 3.688 GB, free: 155.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.00122/6.831, allocations: 0.7397 MB / 3.689 GB, free: 154.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/6.831, allocations: 81.11 kB / 3.689 GB, free: 154.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/6.832, allocations: 1.027 MB / 3.69 GB, free: 153.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/6.832, allocations: 45.53 kB / 3.69 GB, free: 153.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/6.833, allocations: 0.5178 MB / 3.69 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/6.833, allocations: 120.4 kB / 3.69 GB, free: 152.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/6.833, allocations: 15.94 kB / 3.69 GB, free: 152.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/6.833, allocations: 330 kB / 3.691 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/6.833, allocations: 189 kB / 3.691 GB, free: 152.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/6.833, allocations: 0.5255 MB / 3.691 GB, free: 151.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/6.834, allocations: 305.7 kB / 3.692 GB, free: 151.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/6.834, allocations: 3.688 kB / 3.692 GB, free: 151.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001112/6.835, allocations: 0.9363 MB / 3.693 GB, free: 150.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003632/6.835, allocations: 2.226 MB / 3.695 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/6.835, allocations: 12 kB / 3.695 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/6.836, allocations: 290.8 kB / 3.695 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/6.836, allocations: 95.75 kB / 3.695 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/6.837, allocations: 1.646 MB / 3.697 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/6.838, allocations: 115.7 kB / 3.697 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/6.838, allocations: 27.98 kB / 3.697 GB, free: 145.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/6.839, allocations: 4.625 kB / 3.697 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/6.84, allocations: 0.744 MB / 3.698 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/6.84, allocations: 12.12 kB / 3.698 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/6.84, allocations: 212.6 kB / 3.698 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/6.84, allocations: 83.83 kB / 3.698 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/6.843, allocations: 2.9 MB / 3.701 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/6.844, allocations: 111.7 kB / 3.701 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/6.844, allocations: 24 kB / 3.701 GB, free: 141.5 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 (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.0001448/6.844, allocations: 149 kB / 3.701 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/6.844, allocations: 106.7 kB / 3.701 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/6.846, allocations: 0.7479 MB / 3.702 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/6.846, allocations: 8 kB / 3.702 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/6.846, allocations: 0 / 3.702 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/6.846, allocations: 3.984 kB / 3.702 GB, free: 140.5 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.00236/6.848, allocations: 2.119 MB / 3.704 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/6.848, allocations: 4 kB / 3.704 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/6.848, allocations: 55.91 kB / 3.704 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003353/6.849, allocations: 206.9 kB / 3.704 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/6.849, allocations: 8 kB / 3.704 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007004/6.849, allocations: 1.466 MB / 3.706 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/6.849, allocations: 8 kB / 3.706 GB, free: 136.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/6.85, allocations: 0.9347 MB / 3.707 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/6.85, allocations: 231.7 kB / 3.707 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/6.851, allocations: 8 kB / 3.707 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/6.851, allocations: 83.75 kB / 3.707 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/6.851, allocations: 39.84 kB / 3.707 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/6.851, allocations: 12 kB / 3.707 GB, free: 135.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007847/6.852, allocations: 0.8143 MB / 3.708 GB, free: 134.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/6.852, allocations: 0 / 3.708 GB, free: 134.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001413/6.854, allocations: 0.5972 MB / 3.708 GB, free: 133.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) * 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.002006/6.856, allocations: 2.901 MB / 3.711 GB, free: 130.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001946/6.858, allocations: 1.252 MB / 3.712 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/6.858, allocations: 0 / 3.712 GB, free: 129.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004632/6.858, allocations: 300.1 kB / 3.713 GB, free: 129.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/6.861, allocations: 0.6416 MB / 3.713 GB, free: 128.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/6.863, allocations: 1.779 MB / 3.715 GB, free: 126.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/6.863, allocations: 1.231 MB / 3.716 GB, free: 125.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001726/6.865, allocations: 0.8072 MB / 3.717 GB, free: 124.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/6.865, allocations: 347.3 kB / 3.717 GB, free: 124.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/6.865, allocations: 0 / 3.717 GB, free: 124.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05918/6.925, allocations: 51.42 MB / 3.768 GB, free: 73.32 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/6.925, allocations: 252.2 kB / 3.768 GB, free: 72.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/10.04, allocations: 0 / 3.768 GB, free: 72.99 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)