Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 175.8 kB / 371.6 MB, free: 3.34 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 96.64 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.287e-05/4.289e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.298, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.541/6.839, allocations: 2.064 GB / 3.044 GB, free: 131.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/6.839, allocations: 91.7 kB / 3.044 GB, free: 131.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.449/11.29, allocations: 1.071 GB / 4.116 GB, free: 155.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.904e-06/11.29, allocations: 0 / 4.116 GB, free: 155.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001385/11.29, allocations: 39.98 kB / 4.116 GB, free: 155 MB / 0.948 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.004397/11.29, allocations: 1.269 MB / 4.117 GB, free: 153.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/11.29, allocations: 12.03 kB / 4.117 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002751/11.29, allocations: 102.5 kB / 4.117 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/11.29, allocations: 201.6 kB / 4.117 GB, free: 153.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/11.3, allocations: 1.426 MB / 4.119 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/11.3, allocations: 49.31 kB / 4.119 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/11.3, allocations: 64 kB / 4.119 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/11.3, allocations: 0.9221 MB / 4.12 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/11.3, allocations: 4.797 kB / 4.12 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/11.3, allocations: 24 kB / 4.12 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/11.3, allocations: 16 kB / 4.12 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/11.3, allocations: 0.715 MB / 4.12 GB, free: 150 MB / 0.948 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.004417/11.3, allocations: 4.728 MB / 4.125 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/11.31, allocations: 4.013 MB / 4.129 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/11.31, allocations: 332.4 kB / 4.129 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/11.31, allocations: 198.2 kB / 4.13 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/11.31, allocations: 303 kB / 4.13 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005346/11.31, allocations: 35.69 kB / 4.13 GB, free: 139.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.805e-06/11.31, allocations: 0 / 4.13 GB, free: 139.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001266/11.31, allocations: 0.7345 MB / 4.131 GB, free: 138.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/11.31, allocations: 85.09 kB / 4.131 GB, free: 138.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/11.31, allocations: 1.024 MB / 4.132 GB, free: 137.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/11.31, allocations: 41.7 kB / 4.132 GB, free: 137.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/11.31, allocations: 0.5088 MB / 4.132 GB, free: 136.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/11.31, allocations: 134.2 kB / 4.132 GB, free: 136.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/11.31, allocations: 8 kB / 4.132 GB, free: 136.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/11.31, allocations: 326 kB / 4.133 GB, free: 136.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/11.31, allocations: 193 kB / 4.133 GB, free: 136.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/11.31, allocations: 0.5226 MB / 4.133 GB, free: 135.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/11.31, allocations: 311 kB / 4.134 GB, free: 135.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/11.31, allocations: 4 kB / 4.134 GB, free: 135.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001223/11.31, allocations: 0.928 MB / 4.135 GB, free: 134.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004663/11.31, allocations: 2.233 MB / 4.137 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/11.31, allocations: 4 kB / 4.137 GB, free: 131.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/11.31, allocations: 291.2 kB / 4.137 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/11.31, allocations: 91.81 kB / 4.137 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/11.32, allocations: 1.645 MB / 4.139 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/11.32, allocations: 111.7 kB / 4.139 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/11.32, allocations: 27.98 kB / 4.139 GB, free: 129.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/11.32, allocations: 9.359 kB / 4.139 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/11.32, allocations: 0.7516 MB / 4.14 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/11.32, allocations: 8 kB / 4.14 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004379/11.32, allocations: 210.7 kB / 4.14 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/11.32, allocations: 88.14 kB / 4.14 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/11.32, allocations: 2.898 MB / 4.143 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/11.32, allocations: 103.8 kB / 4.143 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.032e-05/11.32, allocations: 31.92 kB / 4.143 GB, free: 125.4 MB / 0.948 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.0002101/11.32, allocations: 144 kB / 4.143 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/11.32, allocations: 106.7 kB / 4.143 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/11.33, allocations: 0.7579 MB / 4.144 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/11.33, allocations: 4 kB / 4.144 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/11.33, allocations: 0 / 4.144 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/11.33, allocations: 4 kB / 4.144 GB, free: 124.3 MB / 0.948 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.002643/11.33, allocations: 2.105 MB / 4.146 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/11.33, allocations: 0 / 4.146 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/11.33, allocations: 68.12 kB / 4.146 GB, free: 122 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/11.33, allocations: 198.2 kB / 4.146 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/11.33, allocations: 11.94 kB / 4.146 GB, free: 121.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008571/11.33, allocations: 1.462 MB / 4.148 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/11.33, allocations: 4.031 kB / 4.148 GB, free: 120.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/11.33, allocations: 0.9301 MB / 4.148 GB, free: 119.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004685/11.33, allocations: 243.7 kB / 4.149 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/11.33, allocations: 8 kB / 4.149 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/11.33, allocations: 79.75 kB / 4.149 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/11.33, allocations: 31.95 kB / 4.149 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/11.33, allocations: 16 kB / 4.149 GB, free: 118.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009428/11.33, allocations: 0.8065 MB / 4.15 GB, free: 118.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/11.33, allocations: 0 / 4.15 GB, free: 118.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001824/11.33, allocations: 0.6089 MB / 4.15 GB, free: 117.5 MB / 0.948 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.002671/11.34, allocations: 2.907 MB / 4.153 GB, free: 114.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002542/11.34, allocations: 1.24 MB / 4.154 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/11.34, allocations: 0.75 kB / 4.154 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/11.34, allocations: 295.5 kB / 4.155 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/11.34, allocations: 0.6452 MB / 4.155 GB, free: 112.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/11.35, allocations: 1.768 MB / 4.157 GB, free: 110.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/11.35, allocations: 1.235 MB / 4.158 GB, free: 109.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002337/11.35, allocations: 0.8084 MB / 4.159 GB, free: 108.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/11.35, allocations: 343.3 kB / 4.159 GB, free: 108 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/11.35, allocations: 0 / 4.159 GB, free: 108 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/11.46, allocations: 51.37 MB / 4.209 GB, free: 56.89 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/11.46, allocations: 242.7 kB / 4.21 GB, free: 56.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.978/15.44, allocations: 4 kB / 4.21 GB, free: 56.57 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)