Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.5/2.5, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001513/0.001513, allocations: 180.9 kB / 360.6 MB, free: 7.289 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.998/1.998, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001111/0.00111, allocations: 84.03 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.449e-05/2.458e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.809, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.943/6.752, allocations: 2.065 GB / 3.029 GB, free: 54.04 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/6.753, allocations: 92.8 kB / 3.029 GB, free: 53.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.21/15.96, allocations: 1.78 GB / 4.809 GB, free: 131.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.482e-06/15.96, allocations: 0 / 4.809 GB, free: 131.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000136/15.96, allocations: 27.98 kB / 4.809 GB, free: 131.1 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002564/15.97, allocations: 1.153 MB / 4.81 GB, free: 129.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/15.97, allocations: 12.03 kB / 4.81 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/15.97, allocations: 186.4 kB / 4.811 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/15.97, allocations: 1.099 MB / 4.812 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/15.97, allocations: 16 kB / 4.812 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/15.97, allocations: 40 kB / 4.812 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001099/15.97, allocations: 466.3 kB / 4.812 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/15.97, allocations: 0.6735 MB / 4.813 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/15.97, allocations: 4 kB / 4.813 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/15.97, allocations: 7.953 kB / 4.813 GB, free: 127.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/15.97, allocations: 16 kB / 4.813 GB, free: 127.3 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.00521/15.98, allocations: 4.469 MB / 4.817 GB, free: 122.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/15.98, allocations: 438.5 kB / 4.818 GB, free: 122 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/15.98, allocations: 232.7 kB / 4.818 GB, free: 121.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/15.98, allocations: 194.2 kB / 4.818 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/15.98, allocations: 267.4 kB / 4.818 GB, free: 121.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 4.118e-06/15.98, allocations: 3.984 kB / 4.818 GB, free: 121.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002705/15.98, allocations: 0.7521 MB / 4.819 GB, free: 120.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/15.98, allocations: 85.09 kB / 4.819 GB, free: 120.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/15.98, allocations: 0.8521 MB / 4.82 GB, free: 119.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/15.98, allocations: 29.7 kB / 4.82 GB, free: 119.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/15.99, allocations: 484.8 kB / 4.82 GB, free: 119 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/15.99, allocations: 106.5 kB / 4.821 GB, free: 118.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/15.99, allocations: 0 / 4.821 GB, free: 118.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/15.99, allocations: 330 kB / 4.821 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/15.99, allocations: 172.8 kB / 4.821 GB, free: 118.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/15.99, allocations: 0.4921 MB / 4.821 GB, free: 117.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/15.99, allocations: 261.4 kB / 4.822 GB, free: 117.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/15.99, allocations: 0 / 4.822 GB, free: 117.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002591/15.99, allocations: 0.8915 MB / 4.823 GB, free: 116.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/15.99, allocations: 2.127 MB / 4.825 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/15.99, allocations: 4 kB / 4.825 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006885/15.99, allocations: 238.5 kB / 4.825 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/15.99, allocations: 59.91 kB / 4.825 GB, free: 114 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/15.99, allocations: 1.099 MB / 4.826 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/15.99, allocations: 87.69 kB / 4.826 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/15.99, allocations: 43.92 kB / 4.826 GB, free: 112.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/15.99, allocations: 4 kB / 4.826 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001658/16, allocations: 0.5859 MB / 4.827 GB, free: 112.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/16, allocations: 8 kB / 4.827 GB, free: 112.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008015/16, allocations: 195.5 kB / 4.827 GB, free: 112 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/16, allocations: 63.84 kB / 4.827 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/16, allocations: 2.968 MB / 4.83 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/16, allocations: 75.92 kB / 4.83 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/16, allocations: 27.98 kB / 4.83 GB, free: 108.7 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 (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.0002014/16, allocations: 132.6 kB / 4.83 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001388/16, allocations: 0.6136 MB / 4.831 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/16, allocations: 94.88 kB / 4.831 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/16.01, allocations: 0.6553 MB / 4.831 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/16.01, allocations: 7.953 kB / 4.831 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/16.01, allocations: 0 / 4.831 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/16.01, allocations: 0 / 4.831 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/16.01, allocations: 1.47 MB / 4.833 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/16.01, allocations: 4.031 kB / 4.833 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/16.01, allocations: 23.98 kB / 4.833 GB, free: 105.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/16.01, allocations: 180.7 kB / 4.833 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/16.01, allocations: 4 kB / 4.833 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/16.01, allocations: 0.9932 MB / 4.834 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/16.01, allocations: 0 / 4.834 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/16.01, allocations: 0.8553 MB / 4.835 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/16.01, allocations: 207.9 kB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/16.01, allocations: 7.984 kB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/16.01, allocations: 51.8 kB / 4.835 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/16.01, allocations: 35.91 kB / 4.835 GB, free: 103.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/16.01, allocations: 19.94 kB / 4.835 GB, free: 103.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001123/16.02, allocations: 0.6652 MB / 4.836 GB, free: 102.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.283e-06/16.02, allocations: 0 / 4.836 GB, free: 102.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002047/16.02, allocations: 491.3 kB / 4.836 GB, free: 102 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 (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.003119/16.02, allocations: 2.769 MB / 4.839 GB, free: 99.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002223/16.02, allocations: 0.9814 MB / 4.84 GB, free: 98.11 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/16.02, allocations: 0 / 4.84 GB, free: 98.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/16.02, allocations: 209 kB / 4.84 GB, free: 97.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/16.03, allocations: 393.3 kB / 4.841 GB, free: 97.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/16.03, allocations: 1.604 MB / 4.842 GB, free: 95.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/16.03, allocations: 1.206 MB / 4.843 GB, free: 94.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002863/16.03, allocations: 0.6432 MB / 4.844 GB, free: 93.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/16.04, allocations: 291.3 kB / 4.844 GB, free: 93.68 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/16.04, allocations: 0 / 4.844 GB, free: 93.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09488/16.13, allocations: 32.51 MB / 4.876 GB, free: 61.33 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/16.13, allocations: 200.2 kB / 4.876 GB, free: 61.12 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.862/19.99, allocations: 3.938 kB / 4.876 GB, free: 61.12 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)