Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.495/1.495, allocations: 249.3 MB / 261.8 MB, free: 5.848 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.001379/0.001379, allocations: 170.2 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0007682/0.0007679, allocations: 86.55 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.659e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1953, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.438/5.633, allocations: 2.184 GB / 3.076 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/5.634, allocations: 95.94 kB / 3.076 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.503/12.14, allocations: 1.736 GB / 4.812 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.393e-06/12.14, allocations: 0 / 4.812 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001239/12.14, allocations: 35.98 kB / 4.812 GB, free: 89.71 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001779/12.14, allocations: 1.151 MB / 4.813 GB, free: 88.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/12.14, allocations: 8.031 kB / 4.813 GB, free: 88.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/12.14, allocations: 106.5 kB / 4.813 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/12.14, allocations: 190.5 kB / 4.813 GB, free: 88.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/12.14, allocations: 1.089 MB / 4.814 GB, free: 87.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/12.14, allocations: 45 kB / 4.814 GB, free: 87.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/12.14, allocations: 56 kB / 4.815 GB, free: 86.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/12.14, allocations: 0.7377 MB / 4.815 GB, free: 86.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/12.14, allocations: 7.938 kB / 4.815 GB, free: 86.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/12.14, allocations: 20 kB / 4.815 GB, free: 86.11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/12.14, allocations: 19.95 kB / 4.815 GB, free: 86.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/12.14, allocations: 482.5 kB / 4.816 GB, free: 85.62 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.003107/12.15, allocations: 4.582 MB / 4.82 GB, free: 80.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004202/12.15, allocations: 382.5 kB / 4.821 GB, free: 80.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/12.15, allocations: 218.9 kB / 4.821 GB, free: 80.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/12.15, allocations: 206.4 kB / 4.821 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/12.15, allocations: 266.7 kB / 4.821 GB, free: 79.54 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.914e-06/12.15, allocations: 3.938 kB / 4.821 GB, free: 79.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001177/12.15, allocations: 0.6735 MB / 4.822 GB, free: 78.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/12.15, allocations: 85.05 kB / 4.822 GB, free: 78.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/12.15, allocations: 0.9806 MB / 4.823 GB, free: 77.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/12.15, allocations: 37.7 kB / 4.823 GB, free: 77.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/12.15, allocations: 496.5 kB / 4.823 GB, free: 77.21 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/12.15, allocations: 102.6 kB / 4.824 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/12.15, allocations: 8 kB / 4.824 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/12.15, allocations: 326 kB / 4.824 GB, free: 76.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/12.15, allocations: 160.8 kB / 4.824 GB, free: 76.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/12.15, allocations: 492.8 kB / 4.825 GB, free: 76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/12.15, allocations: 275.5 kB / 4.825 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/12.15, allocations: 4 kB / 4.825 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001036/12.15, allocations: 0.858 MB / 4.826 GB, free: 74.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004093/12.15, allocations: 2.14 MB / 4.828 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/12.15, allocations: 4 kB / 4.828 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/12.15, allocations: 224.5 kB / 4.828 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/12.15, allocations: 63.84 kB / 4.828 GB, free: 72.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007294/12.15, allocations: 1.006 MB / 4.829 GB, free: 71.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/12.16, allocations: 103.5 kB / 4.829 GB, free: 71.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/12.16, allocations: 31.94 kB / 4.829 GB, free: 71.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/12.16, allocations: 4 kB / 4.829 GB, free: 71.09 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00098/12.16, allocations: 0.6703 MB / 4.83 GB, free: 70.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/12.16, allocations: 11.98 kB / 4.83 GB, free: 70.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/12.16, allocations: 206 kB / 4.83 GB, free: 70.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/12.16, allocations: 63.91 kB / 4.83 GB, free: 70.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/12.16, allocations: 3.082 MB / 4.833 GB, free: 66.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/12.16, allocations: 103.6 kB / 4.833 GB, free: 66.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/12.16, allocations: 23.94 kB / 4.833 GB, free: 66.77 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0001615/12.16, allocations: 144.8 kB / 4.833 GB, free: 66.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/12.16, allocations: 98.78 kB / 4.833 GB, free: 66.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/12.16, allocations: 0.6787 MB / 4.834 GB, free: 65.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/12.16, allocations: 4 kB / 4.834 GB, free: 65.83 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/12.16, allocations: 4 kB / 4.834 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/12.16, allocations: 3.953 kB / 4.834 GB, free: 65.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/12.16, allocations: 1.561 MB / 4.836 GB, free: 64.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/12.16, allocations: 7.938 kB / 4.836 GB, free: 64.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/12.16, allocations: 28.19 kB / 4.836 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000385/12.16, allocations: 222.9 kB / 4.836 GB, free: 63.92 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/12.16, allocations: 8 kB / 4.836 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000652/12.17, allocations: 0.9698 MB / 4.837 GB, free: 62.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/12.17, allocations: 11.92 kB / 4.837 GB, free: 62.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/12.17, allocations: 0.873 MB / 4.838 GB, free: 61.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/12.17, allocations: 223.8 kB / 4.838 GB, free: 61.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-05/12.17, allocations: 8 kB / 4.838 GB, free: 61.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/12.17, allocations: 55.8 kB / 4.838 GB, free: 61.65 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/12.17, allocations: 39.84 kB / 4.838 GB, free: 61.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.349e-05/12.17, allocations: 12 kB / 4.838 GB, free: 61.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008831/12.17, allocations: 0.7729 MB / 4.839 GB, free: 60.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/12.17, allocations: 0 / 4.839 GB, free: 60.82 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001646/12.17, allocations: 0.5036 MB / 4.839 GB, free: 60.31 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/12.17, allocations: 2.674 MB / 4.842 GB, free: 57.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001463/12.17, allocations: 1.034 MB / 4.843 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/12.17, allocations: 0 / 4.843 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003371/12.17, allocations: 214.6 kB / 4.843 GB, free: 56.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/12.18, allocations: 462 kB / 4.843 GB, free: 55.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/12.18, allocations: 1.645 MB / 4.845 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/12.18, allocations: 1.202 MB / 4.846 GB, free: 52.89 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001605/12.18, allocations: 0.7334 MB / 4.847 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002751/12.18, allocations: 295.3 kB / 4.847 GB, free: 51.87 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/12.18, allocations: 0 / 4.847 GB, free: 51.87 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06767/12.25, allocations: 46.36 MB / 4.893 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/12.25, allocations: 240.3 kB / 4.893 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.456/15.7, allocations: 3.938 kB / 4.893 GB, free: 5.414 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)