Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.54/2.54, 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.00152/0.00152, allocations: 184.8 kB / 360.6 MB, free: 7.293 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.026/2.026, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001126/0.001126, allocations: 82.55 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.993e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8189, allocations: 115.3 MB / 0.9634 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.891/6.71, allocations: 2.065 GB / 3.029 GB, free: 53.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/6.71, allocations: 86.95 kB / 3.029 GB, free: 53.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.5/17.21, allocations: 1.971 GB / 5 GB, free: 256 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/17.21, allocations: 0 / 5 GB, free: 256 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002241/17.21, allocations: 32.28 kB / 5 GB, free: 256 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.007014/17.22, allocations: 1.279 MB / 5.001 GB, free: 255.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/17.22, allocations: 7.438 kB / 5.001 GB, free: 255.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/17.22, allocations: 202 kB / 5.001 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/17.23, allocations: 1.456 MB / 5.003 GB, free: 255.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/17.23, allocations: 18.81 kB / 5.003 GB, free: 255.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/17.23, allocations: 40.91 kB / 5.003 GB, free: 255.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/17.23, allocations: 0.6938 MB / 5.003 GB, free: 255.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/17.23, allocations: 0.8489 MB / 5.004 GB, free: 254.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/17.23, allocations: 3.938 kB / 5.004 GB, free: 254.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/17.23, allocations: 3.875 kB / 5.004 GB, free: 254.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/17.23, allocations: 11.03 kB / 5.004 GB, free: 254.9 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.00685/17.24, allocations: 4.582 MB / 5.009 GB, free: 251.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/17.24, allocations: 4.02 MB / 5.013 GB, free: 247.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006888/17.24, allocations: 344.4 kB / 5.013 GB, free: 247.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/17.24, allocations: 191.5 kB / 5.013 GB, free: 247.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/17.24, allocations: 293.2 kB / 5.013 GB, free: 247.3 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006226/17.24, allocations: 16.64 kB / 5.013 GB, free: 247.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.536e-06/17.24, allocations: 0 / 5.013 GB, free: 247.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.002854/17.25, allocations: 0.835 MB / 5.014 GB, free: 247.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/17.25, allocations: 84.61 kB / 5.014 GB, free: 247.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/17.25, allocations: 0.8998 MB / 5.015 GB, free: 247 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001553/17.25, allocations: 29.2 kB / 5.015 GB, free: 246.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/17.25, allocations: 0.524 MB / 5.016 GB, free: 246.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/17.25, allocations: 120.8 kB / 5.016 GB, free: 246.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/17.25, allocations: 3.938 kB / 5.016 GB, free: 246.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/17.25, allocations: 329.1 kB / 5.016 GB, free: 246.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/17.25, allocations: 202.3 kB / 5.016 GB, free: 246.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/17.25, allocations: 0.5363 MB / 5.017 GB, free: 246 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/17.25, allocations: 305 kB / 5.017 GB, free: 246 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/17.25, allocations: 3.656 kB / 5.017 GB, free: 246 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003024/17.25, allocations: 0.9817 MB / 5.018 GB, free: 245.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/17.25, allocations: 2.222 MB / 5.02 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/17.25, allocations: 7.312 kB / 5.02 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008364/17.26, allocations: 250.8 kB / 5.021 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/17.26, allocations: 74.73 kB / 5.021 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/17.26, allocations: 1.166 MB / 5.022 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/17.26, allocations: 91.02 kB / 5.022 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/17.26, allocations: 30.27 kB / 5.022 GB, free: 243 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/17.26, allocations: 4.875 kB / 5.022 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002006/17.26, allocations: 0.6812 MB / 5.023 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/17.26, allocations: 7.531 kB / 5.023 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/17.26, allocations: 229.8 kB / 5.023 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005906/17.26, allocations: 76.38 kB / 5.023 GB, free: 243 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/17.27, allocations: 2.967 MB / 5.026 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/17.27, allocations: 88.7 kB / 5.026 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/17.27, allocations: 25.59 kB / 5.026 GB, free: 241.7 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 (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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002397/17.27, allocations: 128.5 kB / 5.026 GB, free: 241.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001837/17.27, allocations: 0.7076 MB / 5.027 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/17.27, allocations: 106.7 kB / 5.027 GB, free: 241.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/17.28, allocations: 0.7325 MB / 5.028 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/17.28, allocations: 3.25 kB / 5.028 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/17.28, allocations: 3.375 kB / 5.028 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/17.28, allocations: 7.469 kB / 5.028 GB, free: 241.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.004447/17.28, allocations: 2.037 MB / 5.03 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/17.28, allocations: 7.625 kB / 5.03 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/17.28, allocations: 48.67 kB / 5.03 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/17.28, allocations: 173.2 kB / 5.03 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/17.28, allocations: 7.078 kB / 5.03 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/17.28, allocations: 0.9023 MB / 5.031 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/17.28, allocations: 3.875 kB / 5.031 GB, free: 240 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/17.28, allocations: 0.9137 MB / 5.032 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007625/17.28, allocations: 231.8 kB / 5.032 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/17.28, allocations: 11.31 kB / 5.032 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/17.29, allocations: 75 kB / 5.032 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/17.29, allocations: 35.59 kB / 5.032 GB, free: 239.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.122e-05/17.29, allocations: 11.94 kB / 5.032 GB, free: 239.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001292/17.29, allocations: 0.6977 MB / 5.033 GB, free: 239.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.51e-07/17.29, allocations: 0 / 5.033 GB, free: 239.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002812/17.29, allocations: 0.575 MB / 5.033 GB, free: 239.3 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 (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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003672/17.29, allocations: 3.078 MB / 5.036 GB, free: 237.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002594/17.3, allocations: 1.084 MB / 5.037 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/17.3, allocations: 0 / 5.037 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000626/17.3, allocations: 234.3 kB / 5.037 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005606/17.3, allocations: 0.5906 MB / 5.038 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004501/17.31, allocations: 1.709 MB / 5.04 GB, free: 236.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008336/17.31, allocations: 1.232 MB / 5.041 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003537/17.31, allocations: 0.7322 MB / 5.042 GB, free: 236.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/17.31, allocations: 332.8 kB / 5.042 GB, free: 236.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/17.31, allocations: 3.75 kB / 5.042 GB, free: 236.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/17.43, allocations: 37.14 MB / 5.078 GB, free: 227.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003005/17.43, allocations: 202 kB / 5.078 GB, free: 227.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/21.76, allocations: 0 / 5.078 GB, free: 227.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)