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.407/1.407, allocations: 249.5 MB / 257 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 180.9 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.00104/0.00104, allocations: 90.48 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.805e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.272/5.482, allocations: 2.182 GB / 3.067 GB, free: 226 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/5.483, allocations: 87.95 kB / 3.067 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.866/11.35, allocations: 1.707 GB / 4.775 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.275e-06/11.35, allocations: 3.938 kB / 4.775 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001002/11.35, allocations: 27.91 kB / 4.775 GB, free: 174.2 MB / 0.8698 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.003361/11.35, allocations: 1.233 MB / 4.776 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/11.35, allocations: 12.56 kB / 4.776 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/11.35, allocations: 182.5 kB / 4.776 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/11.36, allocations: 1.382 MB / 4.778 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/11.36, allocations: 16 kB / 4.778 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/11.36, allocations: 36 kB / 4.778 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006522/11.36, allocations: 0.4905 MB / 4.778 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/11.36, allocations: 0.7 MB / 4.779 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/11.36, allocations: 7.984 kB / 4.779 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/11.36, allocations: 0 / 4.779 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/11.36, allocations: 16 kB / 4.779 GB, free: 170 MB / 0.8698 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.002652/11.36, allocations: 4.075 MB / 4.783 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/11.36, allocations: 466.8 kB / 4.783 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/11.36, allocations: 336.8 kB / 4.784 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/11.36, allocations: 194.1 kB / 4.784 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/11.36, allocations: 291 kB / 4.784 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001837/11.36, allocations: 15.84 kB / 4.784 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.665e-06/11.36, allocations: 96 / 4.784 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001462/11.36, allocations: 0.7898 MB / 4.785 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/11.36, allocations: 81.11 kB / 4.785 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/11.36, allocations: 0.8518 MB / 4.786 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/11.36, allocations: 33.7 kB / 4.786 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/11.36, allocations: 481.2 kB / 4.786 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/11.36, allocations: 126.3 kB / 4.786 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/11.36, allocations: 0 / 4.786 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/11.36, allocations: 322 kB / 4.787 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/11.36, allocations: 197 kB / 4.787 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/11.37, allocations: 0.5096 MB / 4.787 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/11.37, allocations: 287.2 kB / 4.788 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/11.37, allocations: 4 kB / 4.788 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001312/11.37, allocations: 0.9345 MB / 4.789 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003626/11.37, allocations: 2.127 MB / 4.791 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/11.37, allocations: 8 kB / 4.791 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004214/11.37, allocations: 250.3 kB / 4.791 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/11.37, allocations: 67.91 kB / 4.791 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008601/11.37, allocations: 1.138 MB / 4.792 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/11.37, allocations: 79.81 kB / 4.792 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/11.37, allocations: 28 kB / 4.792 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.925e-06/11.37, allocations: 4 kB / 4.792 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009459/11.37, allocations: 0.6411 MB / 4.793 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/11.37, allocations: 8.031 kB / 4.793 GB, free: 155 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/11.37, allocations: 223.6 kB / 4.793 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/11.37, allocations: 71.84 kB / 4.793 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/11.37, allocations: 2.889 MB / 4.796 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/11.37, allocations: 83.77 kB / 4.796 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/11.37, allocations: 24 kB / 4.796 GB, free: 151.6 MB / 0.8698 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 () * 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.0001294/11.37, allocations: 120.8 kB / 4.796 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008188/11.38, allocations: 0.6636 MB / 4.797 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/11.38, allocations: 102.7 kB / 4.797 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009804/11.38, allocations: 0.692 MB / 4.797 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/11.38, allocations: 4 kB / 4.797 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/11.38, allocations: 4 kB / 4.797 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/11.38, allocations: 3.984 kB / 4.798 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/11.38, allocations: 1.581 MB / 4.799 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/11.38, allocations: 4 kB / 4.799 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/11.38, allocations: 27.97 kB / 4.799 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/11.38, allocations: 208.8 kB / 4.799 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/11.38, allocations: 3.953 kB / 4.799 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006507/11.38, allocations: 1.013 MB / 4.8 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/11.38, allocations: 0 / 4.8 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/11.38, allocations: 0.9007 MB / 4.801 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/11.38, allocations: 223.9 kB / 4.801 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.984e-05/11.38, allocations: 7.938 kB / 4.801 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/11.38, allocations: 63.77 kB / 4.801 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/11.38, allocations: 31.91 kB / 4.801 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/11.38, allocations: 11.94 kB / 4.801 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006571/11.38, allocations: 0.665 MB / 4.802 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.11e-07/11.38, allocations: 0 / 4.802 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001455/11.38, allocations: 0.5187 MB / 4.803 GB, free: 144.6 MB / 0.8698 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) * 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.002009/11.39, allocations: 2.77 MB / 4.805 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001442/11.39, allocations: 1.041 MB / 4.806 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/11.39, allocations: 0 / 4.806 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/11.39, allocations: 218.5 kB / 4.807 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/11.39, allocations: 0.5424 MB / 4.807 GB, free: 140 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/11.39, allocations: 1.615 MB / 4.809 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/11.39, allocations: 1.21 MB / 4.81 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001546/11.39, allocations: 0.6669 MB / 4.81 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/11.4, allocations: 299.3 kB / 4.811 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/11.4, allocations: 0 / 4.811 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/11.45, allocations: 33.61 MB / 4.844 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/11.45, allocations: 201.1 kB / 4.844 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/14.31, allocations: 0 / 4.844 GB, free: 102.4 MB / 0.8698 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)