Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001013/0.001013, allocations: 172.9 kB / 361.4 MB, free: 6.789 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.673/1.673, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008724/0.000872, allocations: 89.48 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.334e-05/2.322e-05, allocations: 8 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7944, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.486/6.281, allocations: 2.063 GB / 3.027 GB, free: 51.86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/6.281, allocations: 95.28 kB / 3.027 GB, free: 51.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.091/14.37, allocations: 1.961 GB / 4.988 GB, free: 259.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/14.37, allocations: 1.688 kB / 4.988 GB, free: 259.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002007/14.37, allocations: 33.17 kB / 4.988 GB, free: 259.9 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.005009/14.38, allocations: 1.28 MB / 4.989 GB, free: 259.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/14.38, allocations: 9.5 kB / 4.989 GB, free: 259.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/14.38, allocations: 194.8 kB / 4.99 GB, free: 259.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004344/14.38, allocations: 1.431 MB / 4.991 GB, free: 259 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/14.38, allocations: 21.05 kB / 4.991 GB, free: 259 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/14.38, allocations: 40.81 kB / 4.991 GB, free: 259 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/14.38, allocations: 0.709 MB / 4.992 GB, free: 259 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/14.39, allocations: 0.8457 MB / 4.993 GB, free: 258.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/14.39, allocations: 1.5 kB / 4.993 GB, free: 258.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.047e-05/14.39, allocations: 6.812 kB / 4.993 GB, free: 258.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/14.39, allocations: 17.78 kB / 4.993 GB, free: 258.8 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.004872/14.39, allocations: 4.602 MB / 4.997 GB, free: 255.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/14.39, allocations: 4.085 MB / 5.001 GB, free: 251.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/14.39, allocations: 340.6 kB / 5.001 GB, free: 251.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/14.39, allocations: 199.1 kB / 5.002 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/14.39, allocations: 292.9 kB / 5.002 GB, free: 251.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005567/14.4, allocations: 17.3 kB / 5.002 GB, free: 251.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.086e-06/14.4, allocations: 0 / 5.002 GB, free: 251.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001951/14.4, allocations: 0.8059 MB / 5.003 GB, free: 251.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/14.4, allocations: 84.89 kB / 5.003 GB, free: 251 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/14.4, allocations: 0.8924 MB / 5.004 GB, free: 250.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/14.4, allocations: 29.67 kB / 5.004 GB, free: 250.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/14.4, allocations: 0.5261 MB / 5.004 GB, free: 250.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/14.4, allocations: 126.1 kB / 5.004 GB, free: 250.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/14.4, allocations: 0 / 5.004 GB, free: 250.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001148/14.4, allocations: 327.7 kB / 5.005 GB, free: 250.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/14.4, allocations: 202.9 kB / 5.005 GB, free: 250.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/14.4, allocations: 0.5441 MB / 5.005 GB, free: 249.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/14.4, allocations: 300.4 kB / 5.006 GB, free: 249.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/14.4, allocations: 3.844 kB / 5.006 GB, free: 249.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001654/14.4, allocations: 0.9501 MB / 5.007 GB, free: 249.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000553/14.4, allocations: 2.213 MB / 5.009 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/14.4, allocations: 3.875 kB / 5.009 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/14.4, allocations: 229.5 kB / 5.009 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/14.4, allocations: 79.22 kB / 5.009 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009603/14.4, allocations: 1.107 MB / 5.01 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/14.41, allocations: 94.11 kB / 5.01 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/14.41, allocations: 30.19 kB / 5.01 GB, free: 246.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/14.41, allocations: 4.625 kB / 5.01 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001103/14.41, allocations: 0.6432 MB / 5.011 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/14.41, allocations: 7.375 kB / 5.011 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/14.41, allocations: 211.8 kB / 5.011 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/14.41, allocations: 76.05 kB / 5.011 GB, free: 246.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00288/14.41, allocations: 2.779 MB / 5.014 GB, free: 245.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/14.41, allocations: 88.83 kB / 5.014 GB, free: 245.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/14.41, allocations: 32.14 kB / 5.014 GB, free: 245.6 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): 38 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001587/14.41, allocations: 120.9 kB / 5.014 GB, free: 245.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001025/14.41, allocations: 0.6794 MB / 5.015 GB, free: 245.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/14.41, allocations: 103.8 kB / 5.015 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/14.41, allocations: 0.7103 MB / 5.016 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/14.41, allocations: 7.25 kB / 5.016 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/14.41, allocations: 0 / 5.016 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/14.41, allocations: 0 / 5.016 GB, free: 245.2 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.00266/14.42, allocations: 2.01 MB / 5.018 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/14.42, allocations: 3.516 kB / 5.018 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/14.42, allocations: 59.11 kB / 5.018 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/14.42, allocations: 129.1 kB / 5.018 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/14.42, allocations: 14.84 kB / 5.018 GB, free: 244.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005797/14.42, allocations: 0.8694 MB / 5.019 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/14.42, allocations: 6.625 kB / 5.019 GB, free: 243.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009124/14.42, allocations: 0.8904 MB / 5.019 GB, free: 243.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/14.42, allocations: 226.6 kB / 5.02 GB, free: 243.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/14.42, allocations: 3.906 kB / 5.02 GB, free: 243.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/14.42, allocations: 76.41 kB / 5.02 GB, free: 243.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/14.42, allocations: 36.58 kB / 5.02 GB, free: 243.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/14.42, allocations: 17.28 kB / 5.02 GB, free: 243.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007996/14.42, allocations: 0.6958 MB / 5.02 GB, free: 243.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.61e-07/14.42, allocations: 0 / 5.02 GB, free: 243.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001799/14.42, allocations: 0.5678 MB / 5.021 GB, free: 243.2 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): 23 * 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 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002634/14.43, allocations: 3.018 MB / 5.024 GB, free: 241.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001465/14.43, allocations: 1.071 MB / 5.025 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/14.43, allocations: 0 / 5.025 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/14.43, allocations: 217.5 kB / 5.025 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/14.43, allocations: 0.5878 MB / 5.026 GB, free: 241.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/14.43, allocations: 1.714 MB / 5.027 GB, free: 240.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006576/14.43, allocations: 1.234 MB / 5.029 GB, free: 240.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001916/14.44, allocations: 0.7266 MB / 5.029 GB, free: 240.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/14.44, allocations: 339.3 kB / 5.03 GB, free: 240.2 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/14.44, allocations: 0 / 5.03 GB, free: 240.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/14.5, allocations: 36.39 MB / 5.065 GB, free: 233.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/14.5, allocations: 212.1 kB / 5.065 GB, free: 233.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/17.61, allocations: 0 / 5.065 GB, free: 233.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)