Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.872/1.872, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001304/0.001305, allocations: 180.2 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009558/0.0009561, allocations: 93.77 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.931e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.311, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.104/6.415, allocations: 2.064 GB / 3.044 GB, free: 132.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/6.416, allocations: 96.52 kB / 3.044 GB, free: 132.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.459/12.87, allocations: 1.787 GB / 4.831 GB, free: 156.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/12.87, allocations: 0 / 4.831 GB, free: 156.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.429e-05/12.87, allocations: 31.98 kB / 4.831 GB, free: 156.9 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.001605/12.88, allocations: 1.147 MB / 4.832 GB, free: 155.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/12.88, allocations: 8.031 kB / 4.832 GB, free: 155.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.709e-05/12.88, allocations: 94.52 kB / 4.833 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/12.88, allocations: 193.8 kB / 4.833 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/12.88, allocations: 1.073 MB / 4.834 GB, free: 154.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/12.88, allocations: 45 kB / 4.834 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/12.88, allocations: 60 kB / 4.834 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/12.88, allocations: 0.7426 MB / 4.835 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/12.88, allocations: 3.938 kB / 4.835 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/12.88, allocations: 20.86 kB / 4.835 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/12.88, allocations: 12 kB / 4.835 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/12.88, allocations: 483.4 kB / 4.835 GB, free: 152.8 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.002948/12.88, allocations: 4.59 MB / 4.84 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/12.88, allocations: 389.2 kB / 4.84 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/12.88, allocations: 220.8 kB / 4.84 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/12.88, allocations: 194.2 kB / 4.84 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/12.88, allocations: 275.2 kB / 4.841 GB, free: 146.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/12.88, allocations: 0 / 4.841 GB, free: 146.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0007338/12.89, allocations: 461.5 kB / 4.841 GB, free: 146.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/12.89, allocations: 81.11 kB / 4.841 GB, free: 146.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/12.89, allocations: 0.9763 MB / 4.842 GB, free: 145.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/12.89, allocations: 33.7 kB / 4.842 GB, free: 145.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/12.89, allocations: 0.4888 MB / 4.843 GB, free: 144.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/12.89, allocations: 118.5 kB / 4.843 GB, free: 144.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/12.89, allocations: 8 kB / 4.843 GB, free: 144.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.474e-05/12.89, allocations: 322 kB / 4.843 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/12.89, allocations: 168.7 kB / 4.843 GB, free: 144 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/12.89, allocations: 488.8 kB / 4.844 GB, free: 143.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/12.89, allocations: 284.1 kB / 4.844 GB, free: 143.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/12.89, allocations: 4 kB / 4.844 GB, free: 143.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007281/12.89, allocations: 0.6268 MB / 4.845 GB, free: 142.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003746/12.89, allocations: 2.145 MB / 4.847 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/12.89, allocations: 4 kB / 4.847 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/12.89, allocations: 8 kB / 4.847 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/12.89, allocations: 107.9 kB / 4.847 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/12.89, allocations: 16.14 kB / 4.847 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/12.89, allocations: 111.3 kB / 4.847 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/12.89, allocations: 27.98 kB / 4.847 GB, free: 139.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/12.89, allocations: 4 kB / 4.847 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005554/12.89, allocations: 0.4902 MB / 4.847 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/12.89, allocations: 8 kB / 4.847 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.585e-06/12.89, allocations: 8 kB / 4.847 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/12.89, allocations: 103.8 kB / 4.848 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/12.89, allocations: 8 kB / 4.848 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/12.89, allocations: 103.7 kB / 4.848 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/12.89, allocations: 24 kB / 4.848 GB, free: 139.2 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.0001047/12.89, allocations: 148.8 kB / 4.848 GB, free: 139 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/12.89, allocations: 95.02 kB / 4.848 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/12.89, allocations: 474.8 kB / 4.848 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/12.89, allocations: 0 / 4.848 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/12.89, allocations: 4 kB / 4.848 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/12.89, allocations: 7.984 kB / 4.848 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/12.89, allocations: 1.346 MB / 4.85 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/12.89, allocations: 8.219 kB / 4.85 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/12.89, allocations: 67.89 kB / 4.85 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/12.89, allocations: 4 kB / 4.85 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/12.89, allocations: 11.95 kB / 4.85 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/12.89, allocations: 4 kB / 4.85 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/12.89, allocations: 0 / 4.85 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/12.9, allocations: 0.6537 MB / 4.85 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/12.9, allocations: 223.7 kB / 4.851 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.684e-05/12.9, allocations: 11.98 kB / 4.851 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/12.9, allocations: 55.83 kB / 4.851 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/12.9, allocations: 31.89 kB / 4.851 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/12.9, allocations: 12 kB / 4.851 GB, free: 135.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007691/12.9, allocations: 0.7727 MB / 4.851 GB, free: 135.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.71e-07/12.9, allocations: 0 / 4.851 GB, free: 135.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001222/12.9, allocations: 483.5 kB / 4.852 GB, free: 134.6 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.001817/12.9, allocations: 2.48 MB / 4.854 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008982/12.9, allocations: 0.7771 MB / 4.855 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/12.9, allocations: 4.062 kB / 4.855 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/12.9, allocations: 184.8 kB / 4.855 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/12.9, allocations: 450.4 kB / 4.856 GB, free: 130.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/12.9, allocations: 1.647 MB / 4.857 GB, free: 128.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/12.91, allocations: 1.199 MB / 4.858 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001727/12.91, allocations: 0.8387 MB / 4.859 GB, free: 126.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003014/12.91, allocations: 299.3 kB / 4.86 GB, free: 126.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.51e-07/12.91, allocations: 4 kB / 4.86 GB, free: 126.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/12.96, allocations: 42.93 MB / 4.902 GB, free: 83.81 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001291/12.96, allocations: 217.1 kB / 4.902 GB, free: 83.58 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/16.27, allocations: 0 / 4.902 GB, free: 83.58 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)