Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.861/1.861, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001725/0.001724, allocations: 183.8 kB / 377.1 MB, free: 1.504 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.934/1.934, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.001214/0.001215, allocations: 88.56 kB / 0.7509 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.303, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.902/6.205, allocations: 2.067 GB / 3.056 GB, free: 114.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/6.206, allocations: 94.75 kB / 3.056 GB, free: 114.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.95/10.16, allocations: 0.9738 GB / 4.029 GB, free: 206.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/10.16, allocations: 0 / 4.029 GB, free: 206.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001712/10.16, allocations: 31.06 kB / 4.029 GB, free: 206.3 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.004295/10.16, allocations: 1.438 MB / 4.031 GB, free: 205.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/10.16, allocations: 10.09 kB / 4.031 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000281/10.16, allocations: 95.64 kB / 4.031 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/10.16, allocations: 189.9 kB / 4.031 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/10.17, allocations: 1.113 MB / 4.032 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/10.17, allocations: 41.66 kB / 4.032 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/10.17, allocations: 65.33 kB / 4.032 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/10.17, allocations: 0.7627 MB / 4.033 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/10.17, allocations: 3.938 kB / 4.033 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.555e-05/10.17, allocations: 26.3 kB / 4.033 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/10.17, allocations: 14.47 kB / 4.033 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/10.17, allocations: 0.5094 MB / 4.034 GB, free: 204.1 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004705/10.17, allocations: 4.591 MB / 4.038 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007003/10.17, allocations: 435.5 kB / 4.038 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/10.17, allocations: 192.5 kB / 4.039 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/10.17, allocations: 288.9 kB / 4.039 GB, free: 199.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.244e-06/10.17, allocations: 0 / 4.039 GB, free: 199.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.003394/10.18, allocations: 1.313 MB / 4.04 GB, free: 199.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/10.18, allocations: 84.77 kB / 4.04 GB, free: 199.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/10.18, allocations: 0.9858 MB / 4.041 GB, free: 198.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/10.18, allocations: 36.64 kB / 4.041 GB, free: 198.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/10.18, allocations: 491.5 kB / 4.042 GB, free: 198.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/10.18, allocations: 113 kB / 4.042 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/10.18, allocations: 11.97 kB / 4.042 GB, free: 198.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/10.18, allocations: 324.4 kB / 4.042 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/10.18, allocations: 185.5 kB / 4.042 GB, free: 198 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/10.18, allocations: 0.5015 MB / 4.043 GB, free: 197.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/10.18, allocations: 285.5 kB / 4.043 GB, free: 197.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/10.18, allocations: 7.594 kB / 4.043 GB, free: 197.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001625/10.18, allocations: 0.8921 MB / 4.044 GB, free: 197.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006879/10.18, allocations: 2.138 MB / 4.046 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/10.18, allocations: 7.844 kB / 4.046 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/10.18, allocations: 255.4 kB / 4.046 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/10.18, allocations: 67.16 kB / 4.046 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/10.19, allocations: 1.093 MB / 4.047 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/10.19, allocations: 103.4 kB / 4.048 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/10.19, allocations: 28.88 kB / 4.048 GB, free: 194 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/10.19, allocations: 4.344 kB / 4.048 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00134/10.19, allocations: 0.7248 MB / 4.048 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/10.19, allocations: 3.812 kB / 4.048 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/10.19, allocations: 221.9 kB / 4.049 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/10.19, allocations: 62.11 kB / 4.049 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0036/10.19, allocations: 3.058 MB / 4.052 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/10.19, allocations: 97.34 kB / 4.052 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/10.19, allocations: 28.27 kB / 4.052 GB, free: 191.6 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 () * Number of clocked 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009851/10.19, allocations: 462.8 kB / 4.052 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/10.2, allocations: 103.6 kB / 4.052 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/10.2, allocations: 0.7129 MB / 4.053 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/10.2, allocations: 2.938 kB / 4.053 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/10.2, allocations: 3.812 kB / 4.053 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/10.2, allocations: 0 / 4.053 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/10.2, allocations: 1.597 MB / 4.055 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.465e-06/10.2, allocations: 0 / 4.055 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/10.2, allocations: 26.84 kB / 4.055 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/10.2, allocations: 252.9 kB / 4.055 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/10.2, allocations: 7.594 kB / 4.055 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009642/10.2, allocations: 1.022 MB / 4.056 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/10.2, allocations: 4.031 kB / 4.056 GB, free: 189.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/10.2, allocations: 0.9334 MB / 4.057 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/10.2, allocations: 223.8 kB / 4.057 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/10.2, allocations: 7.844 kB / 4.057 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/10.21, allocations: 58 kB / 4.057 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/10.21, allocations: 30.91 kB / 4.057 GB, free: 188.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/10.21, allocations: 19.52 kB / 4.057 GB, free: 188.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00126/10.21, allocations: 0.7833 MB / 4.058 GB, free: 188.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/10.21, allocations: 0 / 4.058 GB, free: 188.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002183/10.21, allocations: 0.5211 MB / 4.058 GB, free: 188.3 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) * Number of clocked states: 0 () * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002916/10.21, allocations: 2.703 MB / 4.061 GB, free: 186.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002584/10.21, allocations: 1.172 MB / 4.062 GB, free: 186 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/10.21, allocations: 0 / 4.062 GB, free: 186 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005624/10.21, allocations: 286.5 kB / 4.062 GB, free: 185.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/10.22, allocations: 457 kB / 4.063 GB, free: 185.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/10.23, allocations: 9.836 MB / 4.072 GB, free: 179.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/10.23, allocations: 1.206 MB / 4.074 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001214/10.23, allocations: 317.8 kB / 4.074 GB, free: 178.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003518/10.23, allocations: 315.1 kB / 4.074 GB, free: 177.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/10.23, allocations: 0 / 4.074 GB, free: 177.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/10.3, allocations: 42.12 MB / 4.115 GB, free: 145.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/10.3, allocations: 249.2 kB / 4.116 GB, free: 145.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.477/13.78, allocations: 0 / 4.116 GB, free: 145.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)