Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.528/2.528, allocations: 284.7 MB / 297.2 MB, free: 6.379 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.001526/0.001526, allocations: 172.9 kB / 365.6 MB, free: 2.633 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.094/2.094, allocations: 205.1 MB / 0.6239 GB, free: 8.258 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.001083/0.001083, allocations: 94.92 kB / 0.7371 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.833e-05, allocations: 7.984 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8258/0.8259, allocations: 115.2 MB / 0.9699 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.074/6.9, allocations: 2.063 GB / 3.033 GB, free: 34.16 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/6.9, allocations: 94.38 kB / 3.033 GB, free: 34.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.26/16.16, allocations: 1.787 GB / 4.82 GB, free: 90.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/16.16, allocations: 0 / 4.82 GB, free: 90.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001544/16.16, allocations: 27.98 kB / 4.82 GB, free: 90.02 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002809/16.16, allocations: 1.149 MB / 4.821 GB, free: 88.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/16.16, allocations: 8.031 kB / 4.821 GB, free: 88.81 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/16.16, allocations: 94.52 kB / 4.822 GB, free: 88.71 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/16.16, allocations: 186.5 kB / 4.822 GB, free: 88.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/16.17, allocations: 1.073 MB / 4.823 GB, free: 87.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/16.17, allocations: 48.94 kB / 4.823 GB, free: 87.35 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/16.17, allocations: 60 kB / 4.823 GB, free: 87.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/16.17, allocations: 0.7377 MB / 4.824 GB, free: 86.47 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/16.17, allocations: 7.875 kB / 4.824 GB, free: 86.46 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/16.17, allocations: 28 kB / 4.824 GB, free: 86.44 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/16.17, allocations: 12 kB / 4.824 GB, free: 86.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/16.17, allocations: 482.6 kB / 4.824 GB, free: 85.96 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.00569/16.18, allocations: 4.586 MB / 4.829 GB, free: 80.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/16.18, allocations: 376.2 kB / 4.829 GB, free: 80.61 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/16.18, allocations: 230.9 kB / 4.829 GB, free: 80.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003683/16.18, allocations: 202.1 kB / 4.829 GB, free: 80.15 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/16.18, allocations: 265.2 kB / 4.83 GB, free: 79.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.216e-06/16.18, allocations: 0 / 4.83 GB, free: 79.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001434/16.18, allocations: 459.9 kB / 4.83 GB, free: 79.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/16.18, allocations: 81.11 kB / 4.83 GB, free: 79.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/16.18, allocations: 0.9763 MB / 4.831 GB, free: 78.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/16.18, allocations: 41.69 kB / 4.831 GB, free: 78.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000504/16.18, allocations: 493.1 kB / 4.832 GB, free: 77.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/16.18, allocations: 106.5 kB / 4.832 GB, free: 77.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/16.18, allocations: 8 kB / 4.832 GB, free: 77.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/16.18, allocations: 337.9 kB / 4.832 GB, free: 77.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/16.18, allocations: 160.8 kB / 4.832 GB, free: 77.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/16.18, allocations: 495 kB / 4.833 GB, free: 76.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/16.19, allocations: 277.2 kB / 4.833 GB, free: 76.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/16.19, allocations: 0 / 4.833 GB, free: 76.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001539/16.19, allocations: 0.6427 MB / 4.834 GB, free: 75.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004573/16.19, allocations: 2.128 MB / 4.836 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/16.19, allocations: 4.219 kB / 4.836 GB, free: 73.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.243e-05/16.19, allocations: 12 kB / 4.836 GB, free: 73.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/16.19, allocations: 119.7 kB / 4.836 GB, free: 73.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/16.19, allocations: 11.94 kB / 4.836 GB, free: 73.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/16.19, allocations: 103.4 kB / 4.836 GB, free: 73.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/16.19, allocations: 28 kB / 4.836 GB, free: 73.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/16.19, allocations: 3.953 kB / 4.836 GB, free: 73.06 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/16.19, allocations: 496.9 kB / 4.836 GB, free: 72.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/16.19, allocations: 4.656 kB / 4.836 GB, free: 72.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.976e-05/16.19, allocations: 16 kB / 4.836 GB, free: 72.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/16.19, allocations: 107.8 kB / 4.836 GB, free: 72.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/16.19, allocations: 11.94 kB / 4.836 GB, free: 72.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/16.19, allocations: 95.53 kB / 4.837 GB, free: 72.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/16.19, allocations: 23.98 kB / 4.837 GB, free: 72.32 MB / 0.948 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002248/16.19, allocations: 144.8 kB / 4.837 GB, free: 72.17 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/16.19, allocations: 106.7 kB / 4.837 GB, free: 72.06 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/16.2, allocations: 455 kB / 4.837 GB, free: 71.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/16.2, allocations: 4 kB / 4.837 GB, free: 71.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/16.2, allocations: 4 kB / 4.837 GB, free: 71.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/16.2, allocations: 240 / 4.837 GB, free: 71.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003166/16.2, allocations: 1.356 MB / 4.839 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/16.2, allocations: 4 kB / 4.839 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/16.2, allocations: 64.11 kB / 4.839 GB, free: 70.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/16.2, allocations: 11.98 kB / 4.839 GB, free: 70.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/16.2, allocations: 11.98 kB / 4.839 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/16.2, allocations: 8 kB / 4.839 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/16.2, allocations: 0 / 4.839 GB, free: 70.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/16.2, allocations: 0.6633 MB / 4.839 GB, free: 69.33 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/16.2, allocations: 223.8 kB / 4.84 GB, free: 69.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/16.2, allocations: 8 kB / 4.84 GB, free: 69.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/16.2, allocations: 55.8 kB / 4.84 GB, free: 69.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/16.2, allocations: 31.91 kB / 4.84 GB, free: 69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/16.2, allocations: 11.94 kB / 4.84 GB, free: 68.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001549/16.2, allocations: 0.7766 MB / 4.84 GB, free: 68.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/16.2, allocations: 0 / 4.84 GB, free: 68.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002157/16.21, allocations: 471.7 kB / 4.841 GB, free: 67.73 MB / 0.948 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002894/16.21, allocations: 2.483 MB / 4.843 GB, free: 65.19 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001741/16.21, allocations: 0.7678 MB / 4.844 GB, free: 64.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/16.21, allocations: 4 kB / 4.844 GB, free: 64.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004935/16.21, allocations: 189.7 kB / 4.844 GB, free: 64.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/16.22, allocations: 457.8 kB / 4.845 GB, free: 63.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/16.22, allocations: 1.649 MB / 4.846 GB, free: 62.05 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/16.22, allocations: 1.203 MB / 4.847 GB, free: 60.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003712/16.22, allocations: 0.8347 MB / 4.848 GB, free: 59.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005774/16.23, allocations: 307.3 kB / 4.849 GB, free: 59.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.273e-06/16.23, allocations: 0 / 4.849 GB, free: 59.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/16.36, allocations: 42.95 MB / 4.89 GB, free: 16.96 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/16.36, allocations: 223.7 kB / 4.891 GB, free: 16.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.377/20.73, allocations: 3.938 kB / 4.891 GB, free: 16.72 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)