Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.42/2.42, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001438/0.001438, allocations: 184.9 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001114/0.001113, allocations: 91.33 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.754e-05/2.752e-05, allocations: 8 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8075, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.949/6.756, allocations: 2.063 GB / 3.026 GB, free: 55.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/6.757, allocations: 93.22 kB / 3.026 GB, free: 55.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.446/12.2, allocations: 1.06 GB / 4.086 GB, free: 115.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/12.2, allocations: 0 / 4.086 GB, free: 115.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002006/12.2, allocations: 31.98 kB / 4.086 GB, free: 115.4 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.007086/12.21, allocations: 1.286 MB / 4.088 GB, free: 114 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/12.21, allocations: 8.031 kB / 4.088 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/12.21, allocations: 194.4 kB / 4.088 GB, free: 113.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006578/12.22, allocations: 1.429 MB / 4.089 GB, free: 112.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/12.22, allocations: 16 kB / 4.089 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/12.22, allocations: 40 kB / 4.089 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001715/12.22, allocations: 0.7052 MB / 4.09 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/12.22, allocations: 0.855 MB / 4.091 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/12.22, allocations: 7.891 kB / 4.091 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.48e-05/12.22, allocations: 4 kB / 4.091 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/12.22, allocations: 12 kB / 4.091 GB, free: 110.6 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.006474/12.23, allocations: 4.601 MB / 4.095 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002446/12.23, allocations: 4.076 MB / 4.099 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/12.23, allocations: 339.7 kB / 4.1 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004106/12.23, allocations: 194.2 kB / 4.1 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005486/12.23, allocations: 295.3 kB / 4.1 GB, free: 99.96 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007003/12.23, allocations: 15.75 kB / 4.1 GB, free: 99.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.497e-06/12.23, allocations: 0 / 4.1 GB, free: 99.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.002761/12.24, allocations: 0.8165 MB / 4.101 GB, free: 99.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/12.24, allocations: 85.09 kB / 4.101 GB, free: 99.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/12.24, allocations: 0.9024 MB / 4.102 GB, free: 98.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/12.24, allocations: 29.7 kB / 4.102 GB, free: 98.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/12.24, allocations: 0.5238 MB / 4.102 GB, free: 97.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/12.24, allocations: 130.1 kB / 4.102 GB, free: 97.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/12.24, allocations: 0 / 4.102 GB, free: 97.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/12.24, allocations: 330 kB / 4.103 GB, free: 97.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/12.24, allocations: 201 kB / 4.103 GB, free: 96.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/12.24, allocations: 0.5316 MB / 4.103 GB, free: 96.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/12.24, allocations: 298.1 kB / 4.104 GB, free: 95.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/12.24, allocations: 0 / 4.104 GB, free: 95.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002848/12.24, allocations: 0.965 MB / 4.105 GB, free: 94.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004656/12.24, allocations: 2.212 MB / 4.107 GB, free: 92.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/12.24, allocations: 7.984 kB / 4.107 GB, free: 92.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/12.24, allocations: 252.9 kB / 4.107 GB, free: 92.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/12.25, allocations: 95.81 kB / 4.107 GB, free: 92.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/12.25, allocations: 1.762 MB / 4.109 GB, free: 90.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/12.25, allocations: 99.62 kB / 4.109 GB, free: 90.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/12.25, allocations: 27.98 kB / 4.109 GB, free: 90.27 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/12.25, allocations: 4.875 kB / 4.109 GB, free: 90.27 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00182/12.25, allocations: 0.6602 MB / 4.11 GB, free: 89.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/12.25, allocations: 8 kB / 4.11 GB, free: 89.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/12.25, allocations: 197 kB / 4.11 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/12.25, allocations: 91.77 kB / 4.11 GB, free: 89.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/12.26, allocations: 2.785 MB / 4.113 GB, free: 86.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/12.26, allocations: 91.8 kB / 4.113 GB, free: 86.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/12.26, allocations: 27.98 kB / 4.113 GB, free: 86.29 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.0002333/12.26, allocations: 128.6 kB / 4.113 GB, free: 86.16 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001548/12.26, allocations: 0.6839 MB / 4.114 GB, free: 85.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/12.26, allocations: 98.78 kB / 4.114 GB, free: 85.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/12.26, allocations: 0.7145 MB / 4.114 GB, free: 84.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/12.26, allocations: 4 kB / 4.114 GB, free: 84.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/12.26, allocations: 0 / 4.114 GB, free: 84.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/12.26, allocations: 3.984 kB / 4.114 GB, free: 84.63 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.003973/12.27, allocations: 2.007 MB / 4.116 GB, free: 82.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/12.27, allocations: 4 kB / 4.116 GB, free: 82.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/12.27, allocations: 67.84 kB / 4.116 GB, free: 82.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00045/12.27, allocations: 156 kB / 4.117 GB, free: 82.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/12.27, allocations: 8.25 kB / 4.117 GB, free: 82.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/12.27, allocations: 1.497 MB / 4.118 GB, free: 80.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/12.27, allocations: 4 kB / 4.118 GB, free: 80.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/12.27, allocations: 0.8902 MB / 4.119 GB, free: 79.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/12.27, allocations: 227.7 kB / 4.119 GB, free: 79.49 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/12.27, allocations: 4 kB / 4.119 GB, free: 79.49 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/12.27, allocations: 75.75 kB / 4.119 GB, free: 79.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/12.27, allocations: 39.84 kB / 4.119 GB, free: 79.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/12.27, allocations: 16 kB / 4.119 GB, free: 79.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001222/12.28, allocations: 0.6984 MB / 4.12 GB, free: 78.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.01e-07/12.28, allocations: 0 / 4.12 GB, free: 78.65 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002466/12.28, allocations: 0.5619 MB / 4.12 GB, free: 78.09 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.003509/12.28, allocations: 3.022 MB / 4.123 GB, free: 74.98 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003766/12.29, allocations: 1.203 MB / 4.125 GB, free: 73.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/12.29, allocations: 0 / 4.125 GB, free: 73.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/12.29, allocations: 280.1 kB / 4.125 GB, free: 73.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/12.29, allocations: 0.5869 MB / 4.125 GB, free: 72.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/12.3, allocations: 1.713 MB / 4.127 GB, free: 71.11 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/12.3, allocations: 1.23 MB / 4.128 GB, free: 69.85 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00331/12.3, allocations: 0.7103 MB / 4.129 GB, free: 69.13 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005471/12.3, allocations: 331.3 kB / 4.129 GB, free: 68.81 MB / 0.948 GB Notification: Performance of SimCode: time 1.683e-06/12.3, allocations: 0 / 4.129 GB, free: 68.81 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/12.41, allocations: 36.28 MB / 4.165 GB, free: 32.66 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/12.41, allocations: 197.4 kB / 4.165 GB, free: 32.46 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.163/16.58, allocations: 2.953 kB / 4.165 GB, free: 32.46 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)