Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4603/0.4603, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008169/0.000817, allocations: 103.5 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.008e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3499, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7239/1.074, allocations: 377.8 MB / 0.9293 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.074, allocations: 86.39 kB / 0.9294 GB, free: 7.195 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.893/4.967, allocations: 0.9991 GB / 1.929 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/4.967, allocations: 0 / 1.929 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002894/4.967, allocations: 78.86 kB / 1.929 GB, free: 104.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.006777/4.974, allocations: 2.698 MB / 1.931 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/4.974, allocations: 11.11 kB / 1.931 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007182/4.975, allocations: 332.3 kB / 1.932 GB, free: 103.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/4.976, allocations: 368.2 kB / 1.932 GB, free: 103.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/4.982, allocations: 3.097 MB / 1.935 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/4.982, allocations: 179.1 kB / 1.935 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/4.983, allocations: 243.6 kB / 1.935 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004605/4.987, allocations: 2.986 MB / 1.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/4.987, allocations: 3.719 kB / 1.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/4.988, allocations: 97.23 kB / 1.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/4.988, allocations: 72.59 kB / 1.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003358/4.991, allocations: 2.335 MB / 1.941 GB, free: 102.5 MB / 0.6198 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.01502/5.006, allocations: 12.99 MB / 1.953 GB, free: 96.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/5.008, allocations: 1.63 MB / 1.955 GB, free: 96.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/5.01, allocations: 1.121 MB / 1.956 GB, free: 96.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006279/5.01, allocations: 0.7119 MB / 1.957 GB, free: 95.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/5.01, allocations: 48.25 kB / 1.957 GB, free: 95.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001718/5.012, allocations: 224.7 kB / 1.957 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=126): time 4.518e-06/5.012, allocations: 1.938 kB / 1.957 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126): time 0.00248/5.015, allocations: 1.7 MB / 1.959 GB, free: 95.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/5.015, allocations: 142.2 kB / 1.959 GB, free: 94.87 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/5.017, allocations: 1.888 MB / 1.961 GB, free: 94.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/5.017, allocations: 58.33 kB / 1.961 GB, free: 94.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/5.018, allocations: 1.268 MB / 1.962 GB, free: 94.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/5.019, allocations: 440.8 kB / 1.962 GB, free: 93.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/5.019, allocations: 35.84 kB / 1.962 GB, free: 93.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001207/5.019, allocations: 377.8 kB / 1.963 GB, free: 93.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009109/5.02, allocations: 0.6875 MB / 1.963 GB, free: 93.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/5.021, allocations: 1.216 MB / 1.965 GB, free: 92.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/5.022, allocations: 0.9281 MB / 1.966 GB, free: 92.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/5.022, allocations: 6.844 kB / 1.966 GB, free: 92.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003166/5.025, allocations: 2.323 MB / 1.968 GB, free: 92.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001305/5.027, allocations: 5.711 MB / 1.973 GB, free: 86.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/5.027, allocations: 16.47 kB / 1.973 GB, free: 86.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/5.028, allocations: 496.4 kB / 1.974 GB, free: 86.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/5.03, allocations: 351.2 kB / 1.974 GB, free: 86.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/5.032, allocations: 3.091 MB / 1.977 GB, free: 84.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/5.035, allocations: 229.8 kB / 1.977 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/5.035, allocations: 79.09 kB / 1.978 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/5.035, allocations: 7.609 kB / 1.978 GB, free: 84.81 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002913/5.038, allocations: 2.105 MB / 1.98 GB, free: 84.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/5.038, allocations: 12.97 kB / 1.98 GB, free: 84.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004941/5.038, allocations: 235.7 kB / 1.98 GB, free: 84.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/5.039, allocations: 381.8 kB / 1.98 GB, free: 84.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/5.043, allocations: 4.14 MB / 1.984 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/5.045, allocations: 223 kB / 1.984 GB, free: 82.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/5.045, allocations: 84.39 kB / 1.985 GB, free: 82.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (179): * Single equations (assignments): 177 * 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.0004459/5.045, allocations: 208.4 kB / 1.985 GB, free: 81.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003563/5.046, allocations: 212.8 kB / 1.985 GB, free: 81.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00322/5.049, allocations: 1.983 MB / 1.987 GB, free: 81.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/5.049, allocations: 20 kB / 1.987 GB, free: 81.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/5.049, allocations: 3.375 kB / 1.987 GB, free: 81.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00197/5.051, allocations: 1.583 MB / 1.988 GB, free: 81.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006955/5.058, allocations: 4.599 MB / 1.993 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/5.058, allocations: 6.719 kB / 1.993 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008188/5.059, allocations: 210.9 kB / 1.993 GB, free: 81.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/5.06, allocations: 444.2 kB / 1.994 GB, free: 81.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.571e-05/5.061, allocations: 36.31 kB / 1.994 GB, free: 81.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/5.063, allocations: 3.003 MB / 1.997 GB, free: 79.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/5.063, allocations: 0 / 1.997 GB, free: 79.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/5.066, allocations: 2.935 MB / 1.999 GB, free: 78.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/5.067, allocations: 0.5218 MB / 2 GB, free: 78.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/5.068, allocations: 32.17 kB / 2 GB, free: 78.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/5.069, allocations: 193.1 kB / 2 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/5.069, allocations: 99.47 kB / 2 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/5.069, allocations: 55.23 kB / 2 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001791/5.071, allocations: 1.456 MB / 2.002 GB, free: 78.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.472e-06/5.071, allocations: 3.469 kB / 2.002 GB, free: 78.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003935/5.075, allocations: 1.525 MB / 2.003 GB, free: 78.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004724/5.08, allocations: 4.155 MB / 2.007 GB, free: 77.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004888/5.085, allocations: 3.304 MB / 2.01 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/5.085, allocations: 3.125 kB / 2.01 GB, free: 76.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/5.086, allocations: 0.966 MB / 2.011 GB, free: 76.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004624/5.091, allocations: 1.123 MB / 2.012 GB, free: 76.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/5.098, allocations: 5.099 MB / 2.017 GB, free: 75.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/5.1, allocations: 2.219 MB / 2.02 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003443/5.103, allocations: 1.411 MB / 2.021 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/5.104, allocations: 0.9916 MB / 2.022 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/5.104, allocations: 0 / 2.022 GB, free: 74.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/5.207, allocations: 73.66 MB / 2.094 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/5.207, allocations: 242 kB / 2.094 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.179/9.386, allocations: 0 / 2.094 GB, free: 24.02 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)