Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.655/2.655, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001449/0.001449, allocations: 172.9 kB / 360.6 MB, free: 7.289 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.05/2.05, 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.001098/0.001098, allocations: 92.33 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.35e-05/2.361e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8143, allocations: 115.3 MB / 0.9634 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.015/6.83, allocations: 2.063 GB / 3.026 GB, free: 55.36 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/6.83, allocations: 89.28 kB / 3.026 GB, free: 55.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.55/17.38, allocations: 1.961 GB / 4.987 GB, free: 261.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.753e-06/17.38, allocations: 0 / 4.987 GB, free: 261.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002303/17.38, allocations: 36.12 kB / 4.987 GB, free: 261.8 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.007575/17.38, allocations: 1.276 MB / 4.988 GB, free: 261.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/17.38, allocations: 14.09 kB / 4.988 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/17.39, allocations: 202.1 kB / 4.988 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007184/17.39, allocations: 1.431 MB / 4.99 GB, free: 260.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/17.39, allocations: 17.31 kB / 4.99 GB, free: 260.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/17.39, allocations: 45.44 kB / 4.99 GB, free: 260.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001992/17.4, allocations: 0.7023 MB / 4.991 GB, free: 260.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/17.4, allocations: 0.8466 MB / 4.991 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/17.4, allocations: 8.656 kB / 4.991 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/17.4, allocations: 2.594 kB / 4.991 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/17.4, allocations: 14.06 kB / 4.991 GB, free: 260.7 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.007092/17.41, allocations: 4.603 MB / 4.996 GB, free: 257.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/17.41, allocations: 4.081 MB / 5 GB, free: 253.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/17.41, allocations: 343.6 kB / 5 GB, free: 253.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004032/17.41, allocations: 197.2 kB / 5 GB, free: 253.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005817/17.41, allocations: 287.8 kB / 5.001 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007202/17.41, allocations: 15.69 kB / 5.001 GB, free: 253.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 4.098e-06/17.41, allocations: 2.375 kB / 5.001 GB, free: 253.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.002946/17.41, allocations: 0.8097 MB / 5.002 GB, free: 253 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/17.41, allocations: 91.81 kB / 5.002 GB, free: 252.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/17.42, allocations: 0.8897 MB / 5.002 GB, free: 252.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001597/17.42, allocations: 28.64 kB / 5.002 GB, free: 252.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005799/17.42, allocations: 0.529 MB / 5.003 GB, free: 252.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/17.42, allocations: 120.2 kB / 5.003 GB, free: 252.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/17.42, allocations: 5.125 kB / 5.003 GB, free: 252.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.872e-05/17.42, allocations: 330 kB / 5.003 GB, free: 252.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004597/17.42, allocations: 203 kB / 5.004 GB, free: 252.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007091/17.42, allocations: 0.5339 MB / 5.004 GB, free: 251.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/17.42, allocations: 305.8 kB / 5.004 GB, free: 251.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/17.42, allocations: 3.469 kB / 5.004 GB, free: 251.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003019/17.42, allocations: 0.9454 MB / 5.005 GB, free: 251.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005004/17.42, allocations: 2.215 MB / 5.008 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/17.42, allocations: 6.25 kB / 5.008 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008175/17.42, allocations: 231 kB / 5.008 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/17.42, allocations: 81.2 kB / 5.008 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/17.43, allocations: 1.109 MB / 5.009 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/17.43, allocations: 95.56 kB / 5.009 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/17.43, allocations: 28.05 kB / 5.009 GB, free: 248.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/17.43, allocations: 7.344 kB / 5.009 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001853/17.43, allocations: 0.642 MB / 5.01 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/17.43, allocations: 3.906 kB / 5.01 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009385/17.43, allocations: 207.7 kB / 5.01 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/17.43, allocations: 83.36 kB / 5.01 GB, free: 248.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/17.44, allocations: 2.773 MB / 5.013 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/17.44, allocations: 93.12 kB / 5.013 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/17.44, allocations: 21.78 kB / 5.013 GB, free: 247.5 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.0002505/17.44, allocations: 128.4 kB / 5.013 GB, free: 247.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001727/17.44, allocations: 0.6841 MB / 5.014 GB, free: 247.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/17.44, allocations: 99.78 kB / 5.014 GB, free: 247.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/17.44, allocations: 0.7098 MB / 5.014 GB, free: 247.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/17.44, allocations: 3.969 kB / 5.014 GB, free: 247.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/17.44, allocations: 0 / 5.014 GB, free: 247.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/17.44, allocations: 3.844 kB / 5.014 GB, free: 247.1 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.004769/17.45, allocations: 2.019 MB / 5.016 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/17.45, allocations: 0 / 5.016 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/17.45, allocations: 58.45 kB / 5.016 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004398/17.45, allocations: 136.9 kB / 5.017 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/17.45, allocations: 7.797 kB / 5.017 GB, free: 246.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/17.45, allocations: 0.8684 MB / 5.017 GB, free: 245.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-06/17.45, allocations: 8.219 kB / 5.017 GB, free: 245.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/17.45, allocations: 0.8922 MB / 5.018 GB, free: 245.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007657/17.45, allocations: 221 kB / 5.018 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/17.45, allocations: 11.45 kB / 5.018 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/17.45, allocations: 71.22 kB / 5.019 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/17.45, allocations: 31.52 kB / 5.019 GB, free: 245.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/17.45, allocations: 11.06 kB / 5.019 GB, free: 245.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001296/17.45, allocations: 0.705 MB / 5.019 GB, free: 245.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.61e-07/17.45, allocations: 0 / 5.019 GB, free: 245.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002846/17.46, allocations: 0.5729 MB / 5.02 GB, free: 245.1 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.003752/17.46, allocations: 3.011 MB / 5.023 GB, free: 243.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002593/17.46, allocations: 1.065 MB / 5.024 GB, free: 243.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/17.46, allocations: 2.875 kB / 5.024 GB, free: 243.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/17.46, allocations: 220.6 kB / 5.024 GB, free: 243.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005616/17.47, allocations: 0.5823 MB / 5.025 GB, free: 243.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/17.47, allocations: 1.708 MB / 5.026 GB, free: 242.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/17.48, allocations: 1.238 MB / 5.027 GB, free: 242.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003582/17.48, allocations: 0.7247 MB / 5.028 GB, free: 242.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/17.48, allocations: 335.2 kB / 5.029 GB, free: 242.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/17.48, allocations: 0 / 5.029 GB, free: 242.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/17.59, allocations: 36.4 MB / 5.064 GB, free: 237.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003655/17.59, allocations: 200.3 kB / 5.064 GB, free: 236.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.16/21.75, allocations: 0 / 5.064 GB, free: 236.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)