Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7355/0.7355, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 180.8 kB / 169.7 MB, free: 1.758 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 404.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009617/0.0009614, allocations: 93.52 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.282e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.142, allocations: 76.75 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.286, allocations: 388.3 MB / 1.007 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.286, allocations: 94.44 kB / 1.008 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.529/4.815, allocations: 0.934 GB / 1.942 GB, free: 88.48 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.923e-06/4.815, allocations: 2.375 kB / 1.942 GB, free: 88.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003081/4.815, allocations: 71.86 kB / 1.942 GB, free: 88.47 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.006564/4.822, allocations: 2.665 MB / 1.944 GB, free: 87.54 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/4.822, allocations: 11.75 kB / 1.944 GB, free: 87.54 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006236/4.823, allocations: 331.6 kB / 1.945 GB, free: 87.49 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/4.824, allocations: 357.7 kB / 1.945 GB, free: 87.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006778/4.831, allocations: 3.343 MB / 1.948 GB, free: 86.85 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/4.831, allocations: 178.4 kB / 1.948 GB, free: 86.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/4.832, allocations: 240.9 kB / 1.949 GB, free: 86.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005741/4.837, allocations: 3.002 MB / 1.952 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/4.837, allocations: 6.703 kB / 1.952 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002265/4.838, allocations: 99.22 kB / 1.952 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/4.838, allocations: 61.16 kB / 1.952 GB, free: 86.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/4.842, allocations: 2.387 MB / 1.954 GB, free: 86.45 MB / 0.6511 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.01746/4.86, allocations: 13.01 MB / 1.967 GB, free: 80.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/4.863, allocations: 1.67 MB / 1.968 GB, free: 79.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/4.864, allocations: 1.082 MB / 1.969 GB, free: 79.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/4.865, allocations: 0.717 MB / 1.97 GB, free: 79.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/4.865, allocations: 49.47 kB / 1.97 GB, free: 79.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001895/4.867, allocations: 223.8 kB / 1.97 GB, free: 79.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=123): time 1.333e-05/4.867, allocations: 0 / 1.97 GB, free: 79.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=123): time 0.007214/4.874, allocations: 2.084 MB / 1.972 GB, free: 78.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/4.874, allocations: 144.5 kB / 1.973 GB, free: 78.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/4.878, allocations: 1.804 MB / 1.974 GB, free: 78.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003209/4.879, allocations: 53.7 kB / 1.974 GB, free: 78.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/4.88, allocations: 1.247 MB / 1.976 GB, free: 77.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005846/4.881, allocations: 429.9 kB / 1.976 GB, free: 77.63 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/4.881, allocations: 36.84 kB / 1.976 GB, free: 77.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001429/4.881, allocations: 379.6 kB / 1.976 GB, free: 77.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/4.882, allocations: 0.6815 MB / 1.977 GB, free: 77.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/4.884, allocations: 1.232 MB / 1.978 GB, free: 76.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/4.885, allocations: 0.916 MB / 1.979 GB, free: 76.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/4.885, allocations: 3.812 kB / 1.979 GB, free: 76.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.004183/4.889, allocations: 2.333 MB / 1.981 GB, free: 76.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001589/4.891, allocations: 6.15 MB / 1.987 GB, free: 70.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/4.891, allocations: 19.8 kB / 1.987 GB, free: 70.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/4.893, allocations: 495 kB / 1.988 GB, free: 70.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/4.895, allocations: 358 kB / 1.988 GB, free: 70.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/4.898, allocations: 3.228 MB / 1.991 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/4.901, allocations: 226.7 kB / 1.992 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/4.902, allocations: 81.53 kB / 1.992 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/4.902, allocations: 5.219 kB / 1.992 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003674/4.905, allocations: 2.077 MB / 1.994 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-05/4.905, allocations: 15.28 kB / 1.994 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/4.906, allocations: 238.2 kB / 1.994 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/4.907, allocations: 373 kB / 1.994 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003673/4.911, allocations: 4.148 MB / 1.998 GB, free: 65.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/4.914, allocations: 207.2 kB / 1.999 GB, free: 65.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003404/4.914, allocations: 81.62 kB / 1.999 GB, free: 65.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007915/4.915, allocations: 215.4 kB / 1.999 GB, free: 65.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009641/4.916, allocations: 196.1 kB / 1.999 GB, free: 65.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/4.922, allocations: 2.094 MB / 2.001 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.794e-05/4.922, allocations: 18.09 kB / 2.001 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/4.922, allocations: 0 / 2.001 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003357/4.925, allocations: 1.653 MB / 2.003 GB, free: 64.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/4.935, allocations: 4.414 MB / 2.007 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/4.935, allocations: 0 / 2.007 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/4.936, allocations: 198.6 kB / 2.007 GB, free: 64.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/4.938, allocations: 445.4 kB / 2.008 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/4.938, allocations: 38.7 kB / 2.008 GB, free: 64.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003444/4.942, allocations: 3.144 MB / 2.011 GB, free: 62.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/4.942, allocations: 0 / 2.011 GB, free: 62.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/4.946, allocations: 2.802 MB / 2.013 GB, free: 62.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/4.948, allocations: 0.4963 MB / 2.014 GB, free: 62.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000695/4.949, allocations: 28.81 kB / 2.014 GB, free: 62.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/4.951, allocations: 193.7 kB / 2.014 GB, free: 62.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/4.951, allocations: 92.77 kB / 2.014 GB, free: 62.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/4.951, allocations: 45.91 kB / 2.014 GB, free: 62.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002623/4.954, allocations: 1.411 MB / 2.016 GB, free: 61.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.7e-07/4.954, allocations: 3.391 kB / 2.016 GB, free: 61.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005975/4.96, allocations: 1.485 MB / 2.017 GB, free: 61.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005593/4.965, allocations: 3.823 MB / 2.021 GB, free: 60.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006792/4.972, allocations: 3.372 MB / 2.024 GB, free: 60.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/4.972, allocations: 0 / 2.024 GB, free: 60.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/4.974, allocations: 1.059 MB / 2.025 GB, free: 60.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006151/4.981, allocations: 1.113 MB / 2.026 GB, free: 60.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/4.993, allocations: 5.009 MB / 2.031 GB, free: 59.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/4.995, allocations: 2.194 MB / 2.033 GB, free: 58.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004722/5, allocations: 1.365 MB / 2.035 GB, free: 58.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/5.002, allocations: 0.9685 MB / 2.036 GB, free: 58.46 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/5.002, allocations: 0 / 2.036 GB, free: 58.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/5.123, allocations: 72.33 MB / 2.106 GB, free: 26.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/5.123, allocations: 255.5 kB / 2.106 GB, free: 25.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.257/9.38, allocations: 4.062 kB / 2.106 GB, free: 25.82 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)