Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8824/0.8824, allocations: 143.3 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 177 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.1 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 92 kB / 0.5187 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002618/0.002618, allocations: 274.1 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 13.22 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.23/5.438, allocations: 1.832 GB / 2.606 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/5.438, allocations: 97.27 kB / 2.606 GB, free: 190.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.278/11.72, allocations: 1.814 GB / 4.42 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.206e-06/11.72, allocations: 7.938 kB / 4.42 GB, free: 71.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.887e-05/11.72, allocations: 31.98 kB / 4.42 GB, free: 71.43 MB / 0.7136 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.002713/11.72, allocations: 1.432 MB / 4.421 GB, free: 69.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/11.72, allocations: 12.02 kB / 4.422 GB, free: 69.92 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/11.72, allocations: 94.52 kB / 4.422 GB, free: 69.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/11.72, allocations: 190.5 kB / 4.422 GB, free: 69.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/11.72, allocations: 1.108 MB / 4.423 GB, free: 68.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/11.72, allocations: 41 kB / 4.423 GB, free: 68.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/11.72, allocations: 64 kB / 4.423 GB, free: 68.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/11.72, allocations: 0.7614 MB / 4.424 GB, free: 67.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/11.72, allocations: 0 / 4.424 GB, free: 67.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/11.72, allocations: 28 kB / 4.424 GB, free: 67.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/11.72, allocations: 12 kB / 4.424 GB, free: 67.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/11.72, allocations: 0.515 MB / 4.424 GB, free: 66.97 MB / 0.7136 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.003308/11.73, allocations: 4.595 MB / 4.429 GB, free: 61.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/11.73, allocations: 419 kB / 4.429 GB, free: 61.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/11.73, allocations: 194.7 kB / 4.429 GB, free: 61.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/11.73, allocations: 285 kB / 4.43 GB, free: 61.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/11.73, allocations: 8 kB / 4.43 GB, free: 61.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.002983/11.73, allocations: 1.222 MB / 4.431 GB, free: 59.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/11.73, allocations: 81.11 kB / 4.431 GB, free: 59.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/11.73, allocations: 0.9915 MB / 4.432 GB, free: 58.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/11.73, allocations: 41.64 kB / 4.432 GB, free: 58.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/11.73, allocations: 492.6 kB / 4.432 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/11.73, allocations: 106.5 kB / 4.432 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/11.73, allocations: 8 kB / 4.432 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/11.73, allocations: 333.9 kB / 4.433 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/11.73, allocations: 180.7 kB / 4.433 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/11.73, allocations: 0.5124 MB / 4.433 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/11.73, allocations: 287.3 kB / 4.434 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/11.73, allocations: 0 / 4.434 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00133/11.74, allocations: 0.9005 MB / 4.435 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004863/11.74, allocations: 2.136 MB / 4.437 GB, free: 53.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/11.74, allocations: 8 kB / 4.437 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/11.74, allocations: 228.5 kB / 4.437 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/11.74, allocations: 63.91 kB / 4.437 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008327/11.74, allocations: 1.013 MB / 4.438 GB, free: 52.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009408/11.74, allocations: 99.53 kB / 4.438 GB, free: 51.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/11.74, allocations: 27.98 kB / 4.438 GB, free: 51.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/11.74, allocations: 4 kB / 4.438 GB, free: 51.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/11.74, allocations: 0.7293 MB / 4.439 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/11.74, allocations: 8.031 kB / 4.439 GB, free: 51.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004747/11.74, allocations: 217.8 kB / 4.439 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/11.74, allocations: 67.84 kB / 4.439 GB, free: 50.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/11.74, allocations: 3.147 MB / 4.442 GB, free: 47.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/11.75, allocations: 95.59 kB / 4.442 GB, free: 47.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/11.75, allocations: 23.98 kB / 4.442 GB, free: 47.46 MB / 0.7136 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.000681/11.75, allocations: 474.2 kB / 4.443 GB, free: 46.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/11.75, allocations: 102.7 kB / 4.443 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/11.75, allocations: 0.7254 MB / 4.444 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/11.75, allocations: 4 kB / 4.444 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/11.75, allocations: 0 / 4.444 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/11.75, allocations: 0 / 4.444 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/11.75, allocations: 1.592 MB / 4.445 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/11.75, allocations: 8.031 kB / 4.445 GB, free: 44.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/11.75, allocations: 23.98 kB / 4.445 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/11.75, allocations: 228.4 kB / 4.445 GB, free: 44.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/11.75, allocations: 11.98 kB / 4.445 GB, free: 44.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006863/11.75, allocations: 0.9749 MB / 4.446 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/11.75, allocations: 3.953 kB / 4.446 GB, free: 43.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/11.75, allocations: 0.925 MB / 4.447 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/11.75, allocations: 219.7 kB / 4.447 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/11.75, allocations: 8 kB / 4.447 GB, free: 41.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/11.75, allocations: 63.78 kB / 4.447 GB, free: 41.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.182e-05/11.75, allocations: 27.91 kB / 4.448 GB, free: 41.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/11.75, allocations: 11.98 kB / 4.448 GB, free: 41.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009256/11.75, allocations: 0.7799 MB / 4.448 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/11.75, allocations: 4 kB / 4.448 GB, free: 41.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001747/11.76, allocations: 0.5075 MB / 4.449 GB, free: 40.54 MB / 0.7136 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002562/11.76, allocations: 2.745 MB / 4.451 GB, free: 37.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001878/11.76, allocations: 1.041 MB / 4.452 GB, free: 36.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/11.76, allocations: 0 / 4.452 GB, free: 36.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/11.76, allocations: 239.1 kB / 4.453 GB, free: 36.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/11.76, allocations: 454.5 kB / 4.453 GB, free: 36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/11.78, allocations: 9.804 MB / 4.463 GB, free: 25.86 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007687/11.78, allocations: 1.2 MB / 4.464 GB, free: 24.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001332/11.78, allocations: 327.8 kB / 4.464 GB, free: 24.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/11.78, allocations: 307.3 kB / 4.464 GB, free: 24 MB / 0.7136 GB Notification: Performance of SimCode: time 2.394e-06/11.78, allocations: 0 / 4.464 GB, free: 24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.472/12.25, allocations: 42.52 MB / 4.506 GB, free: 184.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/12.25, allocations: 280.8 kB / 4.506 GB, free: 184.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/15.77, allocations: 0 / 4.506 GB, free: 184.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)