Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",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.942/0.942, allocations: 143.3 MB / 158.3 MB, free: 5.809 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.001912/0.001912, allocations: 183.4 kB / 191.5 MB, free: 5.77 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.814/1.814, allocations: 223.2 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.001243/0.001243, allocations: 84.3 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002244, allocations: 274.3 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004623, allocations: 13.62 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1997, allocations: 82.8 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9051/1.105, allocations: 361.9 MB / 1.127 GB, free: 7.719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/1.105, allocations: 90.58 kB / 1.127 GB, free: 7.672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.951/4.057, allocations: 0.7037 GB / 1.831 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.216e-06/4.057, allocations: 0 / 1.831 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000391/4.057, allocations: 53.08 kB / 1.831 GB, free: 139.4 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.008949/4.066, allocations: 2.439 MB / 1.833 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/4.066, allocations: 8.219 kB / 1.833 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006451/4.067, allocations: 148.4 kB / 1.834 GB, free: 138.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/4.069, allocations: 286.5 kB / 1.834 GB, free: 138.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008046/4.077, allocations: 2.548 MB / 1.836 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/4.077, allocations: 77.03 kB / 1.836 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/4.077, allocations: 106.8 kB / 1.837 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/4.08, allocations: 1.244 MB / 1.838 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/4.08, allocations: 11.44 kB / 1.838 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/4.081, allocations: 40.03 kB / 1.838 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/4.081, allocations: 26.22 kB / 1.838 GB, free: 137.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/4.083, allocations: 0.955 MB / 1.839 GB, free: 137.5 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.009279/4.092, allocations: 6.606 MB / 1.845 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/4.093, allocations: 0.611 MB / 1.846 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003359/4.097, allocations: 1.629 MB / 1.847 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000702/4.097, allocations: 375.1 kB / 1.848 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/4.098, allocations: 129.3 kB / 1.848 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 4.709e-06/4.098, allocations: 2.25 kB / 1.848 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.003184/4.102, allocations: 1.263 MB / 1.849 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/4.102, allocations: 55.78 kB / 1.849 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/4.105, allocations: 1.561 MB / 1.851 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-05/4.105, allocations: 43.69 kB / 1.851 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008757/4.106, allocations: 0.8531 MB / 1.852 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/4.106, allocations: 160.4 kB / 1.852 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/4.106, allocations: 17.34 kB / 1.852 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/4.106, allocations: 341.5 kB / 1.852 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/4.107, allocations: 286.2 kB / 1.852 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/4.107, allocations: 0.7215 MB / 1.853 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/4.108, allocations: 424.3 kB / 1.853 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/4.108, allocations: 3.375 kB / 1.853 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002423/4.111, allocations: 1.219 MB / 1.855 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/4.112, allocations: 4.134 MB / 1.859 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/4.112, allocations: 8.25 kB / 1.859 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/4.112, allocations: 147.5 kB / 1.859 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/4.113, allocations: 171.5 kB / 1.859 GB, free: 126.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/4.114, allocations: 0.7658 MB / 1.86 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/4.115, allocations: 101.9 kB / 1.86 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/4.116, allocations: 48.88 kB / 1.86 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/4.116, allocations: 9.578 kB / 1.86 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/4.117, allocations: 1.074 MB / 1.861 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/4.117, allocations: 9.594 kB / 1.861 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/4.118, allocations: 115.5 kB / 1.861 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/4.118, allocations: 170.2 kB / 1.861 GB, free: 125.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/4.12, allocations: 2.145 MB / 1.863 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/4.122, allocations: 101.3 kB / 1.863 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/4.122, allocations: 43.44 kB / 1.863 GB, free: 124.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.001214/4.123, allocations: 0.5844 MB / 1.864 GB, free: 124 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005054/4.124, allocations: 176.8 kB / 1.864 GB, free: 123.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/4.126, allocations: 1 MB / 1.865 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/4.126, allocations: 7 kB / 1.865 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/4.126, allocations: 0 / 1.865 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/4.127, allocations: 0.9576 MB / 1.866 GB, free: 123 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00478/4.132, allocations: 2.18 MB / 1.868 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/4.132, allocations: 6.609 kB / 1.868 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/4.133, allocations: 93.12 kB / 1.868 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/4.133, allocations: 123.9 kB / 1.868 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/4.133, allocations: 14.97 kB / 1.868 GB, free: 121.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005732/4.134, allocations: 0.7365 MB / 1.869 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/4.134, allocations: 0 / 1.869 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/4.137, allocations: 1.412 MB / 1.871 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/4.138, allocations: 317 kB / 1.871 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005666/4.138, allocations: 15.66 kB / 1.871 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/4.14, allocations: 82.72 kB / 1.871 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/4.14, allocations: 40.17 kB / 1.871 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/4.14, allocations: 19.7 kB / 1.871 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002456/4.142, allocations: 1.23 MB / 1.872 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/4.142, allocations: 3.688 kB / 1.872 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004141/4.146, allocations: 0.8689 MB / 1.873 GB, free: 119.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00523/4.152, allocations: 2.719 MB / 1.876 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003088/4.155, allocations: 1.447 MB / 1.877 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/4.155, allocations: 0 / 1.877 GB, free: 117.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007239/4.156, allocations: 345.5 kB / 1.877 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/4.16, allocations: 0.7355 MB / 1.878 GB, free: 117.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/4.171, allocations: 11.84 MB / 1.89 GB, free: 107.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/4.173, allocations: 1.527 MB / 1.891 GB, free: 106.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002155/4.175, allocations: 447.6 kB / 1.892 GB, free: 106.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/4.176, allocations: 0.6502 MB / 1.892 GB, free: 106 MB / 0.7136 GB Notification: Performance of SimCode: time 1.502e-06/4.176, allocations: 0 / 1.892 GB, free: 106 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09931/4.275, allocations: 50.42 MB / 1.942 GB, free: 60.26 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/4.275, allocations: 263.8 kB / 1.942 GB, free: 59.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.237/8.512, allocations: 0 / 1.942 GB, free: 59.92 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)