Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001243/0.001243, allocations: 185.4 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 86.31 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 12.97 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.863/5.123, allocations: 2.182 GB / 3.082 GB, free: 40.42 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/5.123, allocations: 100.5 kB / 3.082 GB, free: 40.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.132/11.26, allocations: 1.727 GB / 4.809 GB, free: 26.74 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.945e-06/11.26, allocations: 0 / 4.809 GB, free: 26.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002209/11.26, allocations: 31.98 kB / 4.809 GB, free: 26.71 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006129/11.26, allocations: 1.509 MB / 4.811 GB, free: 25.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/11.26, allocations: 12.02 kB / 4.811 GB, free: 25.13 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004898/11.26, allocations: 98.45 kB / 4.811 GB, free: 25.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/11.26, allocations: 190.4 kB / 4.811 GB, free: 24.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/11.27, allocations: 1.393 MB / 4.813 GB, free: 23.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/11.27, allocations: 41 kB / 4.813 GB, free: 23.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/11.27, allocations: 64 kB / 4.813 GB, free: 23.28 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/11.27, allocations: 0.7927 MB / 4.813 GB, free: 22.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/11.27, allocations: 7.875 kB / 4.813 GB, free: 22.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/11.27, allocations: 24 kB / 4.813 GB, free: 22.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/11.27, allocations: 12 kB / 4.813 GB, free: 22.37 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/11.27, allocations: 0.5345 MB / 4.814 GB, free: 21.83 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004192/11.27, allocations: 4.215 MB / 4.818 GB, free: 17.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/11.28, allocations: 442.9 kB / 4.819 GB, free: 16.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/11.28, allocations: 190.2 kB / 4.819 GB, free: 16.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/11.28, allocations: 332.4 kB / 4.819 GB, free: 16.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004907/11.28, allocations: 27.69 kB / 4.819 GB, free: 16.31 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/11.28, allocations: 0 / 4.819 GB, free: 16.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.003443/11.28, allocations: 1.374 MB / 4.82 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/11.28, allocations: 89.11 kB / 4.821 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/11.28, allocations: 1.012 MB / 4.821 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/11.28, allocations: 37.7 kB / 4.822 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/11.28, allocations: 489.7 kB / 4.822 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/11.28, allocations: 114.5 kB / 4.822 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/11.28, allocations: 8 kB / 4.822 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/11.28, allocations: 326 kB / 4.822 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/11.28, allocations: 205 kB / 4.823 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/11.28, allocations: 0.5223 MB / 4.823 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/11.28, allocations: 320.2 kB / 4.823 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/11.28, allocations: 4 kB / 4.823 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001489/11.28, allocations: 0.9646 MB / 4.824 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005119/11.29, allocations: 2.134 MB / 4.826 GB, free: 8.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/11.29, allocations: 4 kB / 4.826 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005876/11.29, allocations: 252.5 kB / 4.827 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/11.29, allocations: 75.88 kB / 4.827 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008946/11.29, allocations: 1.034 MB / 4.828 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/11.29, allocations: 91.81 kB / 4.828 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/11.29, allocations: 24 kB / 4.828 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/11.29, allocations: 4 kB / 4.828 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/11.29, allocations: 0.7726 MB / 4.829 GB, free: 6.055 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/11.29, allocations: 12.61 kB / 4.829 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/11.29, allocations: 243.8 kB / 4.829 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/11.29, allocations: 63.91 kB / 4.829 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/11.29, allocations: 3.063 MB / 4.832 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/11.3, allocations: 95.77 kB / 4.832 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/11.3, allocations: 24 kB / 4.832 GB, free: 2.426 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0009346/11.3, allocations: 469.8 kB / 4.833 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/11.3, allocations: 98.78 kB / 4.833 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/11.3, allocations: 0.785 MB / 4.833 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/11.3, allocations: 7.953 kB / 4.833 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/11.3, allocations: 0 / 4.833 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/11.3, allocations: 192 / 4.833 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5583/11.86, allocations: 1.705 MB / 4.835 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/11.86, allocations: 1.453 kB / 4.835 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/11.86, allocations: 33.8 kB / 4.835 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/11.86, allocations: 245.6 kB / 4.835 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/11.86, allocations: 9.469 kB / 4.835 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007891/11.86, allocations: 1.008 MB / 4.836 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/11.86, allocations: 3 kB / 4.836 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/11.86, allocations: 0.9818 MB / 4.837 GB, free: 266.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005449/11.86, allocations: 225.1 kB / 4.837 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/11.86, allocations: 6.906 kB / 4.837 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/11.86, allocations: 72.95 kB / 4.838 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.641e-05/11.86, allocations: 34.66 kB / 4.838 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/11.86, allocations: 8.312 kB / 4.838 GB, free: 266.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001095/11.86, allocations: 0.8138 MB / 4.838 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/11.86, allocations: 0 / 4.838 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001679/11.86, allocations: 0.5412 MB / 4.839 GB, free: 266.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.002847/11.87, allocations: 2.713 MB / 4.842 GB, free: 265.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002063/11.87, allocations: 1.115 MB / 4.843 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/11.87, allocations: 0 / 4.843 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005516/11.87, allocations: 247 kB / 4.843 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/11.87, allocations: 0.6328 MB / 4.844 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/11.89, allocations: 10.03 MB / 4.853 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/11.89, allocations: 1.207 MB / 4.854 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001508/11.89, allocations: 305.9 kB / 4.855 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/11.89, allocations: 323.2 kB / 4.855 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/11.89, allocations: 0 / 4.855 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08679/11.98, allocations: 44.37 MB / 4.898 GB, free: 257.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/11.98, allocations: 284.8 kB / 4.899 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.388/15.37, allocations: 0 / 4.899 GB, free: 257.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)