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.001732/0.001732, allocations: 179.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5815/0.5815, allocations: 91.97 MB / 108.5 MB, free: 13.07 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.667/1.667, allocations: 223.1 MB / 354.3 MB, free: 12.13 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 92.22 kB / 427.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 72.31 MB / 0.5689 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.417, allocations: 377.9 MB / 0.938 GB, free: 88.92 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.418, allocations: 98.69 kB / 0.938 GB, free: 88.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.502/4.92, allocations: 1.002 GB / 1.94 GB, free: 44.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.687e-06/4.92, allocations: 0 / 1.94 GB, free: 44.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005756/4.92, allocations: 74.83 kB / 1.94 GB, free: 44.75 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.01047/4.931, allocations: 3.188 MB / 1.943 GB, free: 41.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/4.931, allocations: 8.031 kB / 1.943 GB, free: 41.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001482/4.932, allocations: 332.9 kB / 1.943 GB, free: 41.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/4.935, allocations: 368 kB / 1.944 GB, free: 40.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008365/4.943, allocations: 3.134 MB / 1.947 GB, free: 37.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/4.943, allocations: 176.6 kB / 1.947 GB, free: 37.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/4.944, allocations: 232 kB / 1.947 GB, free: 37.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007773/4.952, allocations: 3.02 MB / 1.95 GB, free: 34.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/4.952, allocations: 11.84 kB / 1.95 GB, free: 34.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006376/4.953, allocations: 104 kB / 1.95 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/4.953, allocations: 75.88 kB / 1.95 GB, free: 33.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004599/4.958, allocations: 2.387 MB / 1.953 GB, free: 31.45 MB / 0.6198 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.01595/4.974, allocations: 12.98 MB / 1.965 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/4.976, allocations: 1.639 MB / 1.967 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/4.976, allocations: 0.7205 MB / 1.967 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/4.976, allocations: 47.56 kB / 1.968 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001763/4.978, allocations: 231.7 kB / 1.968 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=126): time 4.639e-06/4.978, allocations: 0 / 1.968 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126): time 0.009158/4.987, allocations: 3.447 MB / 1.971 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/4.987, allocations: 149.5 kB / 1.971 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/4.99, allocations: 1.903 MB / 1.973 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/4.99, allocations: 57.7 kB / 1.973 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/4.991, allocations: 1.266 MB / 1.974 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004098/4.992, allocations: 449.7 kB / 1.975 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/4.992, allocations: 32 kB / 1.975 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.392e-05/4.992, allocations: 373.9 kB / 1.975 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/4.993, allocations: 0.7142 MB / 1.976 GB, free: 6.242 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/4.994, allocations: 1.233 MB / 1.977 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/4.995, allocations: 0.9315 MB / 1.978 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/4.995, allocations: 4 kB / 1.978 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003315/4.998, allocations: 2.362 MB / 1.98 GB, free: 1.465 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.3739/5.372, allocations: 5.709 MB / 1.986 GB, free: 90.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.123e-05/5.372, allocations: 14.14 kB / 1.986 GB, free: 90.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002341/5.375, allocations: 482.9 kB / 1.986 GB, free: 90.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/5.377, allocations: 351.6 kB / 1.987 GB, free: 90.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003479/5.38, allocations: 3.14 MB / 1.99 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/5.383, allocations: 228.9 kB / 1.99 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/5.384, allocations: 83.7 kB / 1.99 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/5.384, allocations: 3.531 kB / 1.99 GB, free: 88.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004485/5.388, allocations: 2.139 MB / 1.992 GB, free: 88.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/5.388, allocations: 14.12 kB / 1.992 GB, free: 88.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/5.389, allocations: 239.6 kB / 1.992 GB, free: 88.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/5.39, allocations: 373.3 kB / 1.993 GB, free: 88.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004465/5.395, allocations: 4.206 MB / 1.997 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/5.398, allocations: 217.3 kB / 1.997 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/5.398, allocations: 81.12 kB / 1.997 GB, free: 85.49 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 () * Number of clocked 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.002315/5.4, allocations: 1.019 MB / 1.998 GB, free: 85.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007141/5.401, allocations: 206.1 kB / 1.998 GB, free: 85.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003632/5.405, allocations: 2.021 MB / 2 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/5.405, allocations: 13.56 kB / 2 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/5.405, allocations: 3.938 kB / 2 GB, free: 85.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/5.407, allocations: 1.618 MB / 2.002 GB, free: 85.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008799/5.416, allocations: 4.574 MB / 2.006 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/5.416, allocations: 3.031 kB / 2.006 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009874/5.417, allocations: 213.5 kB / 2.007 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/5.419, allocations: 434.7 kB / 2.007 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/5.419, allocations: 34.14 kB / 2.007 GB, free: 84.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/5.422, allocations: 3.054 MB / 2.01 GB, free: 82.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/5.422, allocations: 4.891 kB / 2.01 GB, free: 82.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005519/5.427, allocations: 2.972 MB / 2.013 GB, free: 82.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00204/5.429, allocations: 0.5261 MB / 2.013 GB, free: 82.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/5.43, allocations: 36.84 kB / 2.014 GB, free: 82.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/5.431, allocations: 194 kB / 2.014 GB, free: 82.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/5.432, allocations: 94.67 kB / 2.014 GB, free: 82.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/5.432, allocations: 59.12 kB / 2.014 GB, free: 82.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002562/5.434, allocations: 1.477 MB / 2.015 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/5.434, allocations: 2.156 kB / 2.015 GB, free: 82.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005693/5.44, allocations: 1.521 MB / 2.017 GB, free: 81.98 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) * Number of clocked states: 0 () * 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.005672/5.446, allocations: 4.179 MB / 2.021 GB, free: 80.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004998/5.451, allocations: 3.315 MB / 2.024 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/5.451, allocations: 3.812 kB / 2.024 GB, free: 80.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/5.452, allocations: 0.9832 MB / 2.025 GB, free: 80.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005568/5.458, allocations: 1.123 MB / 2.026 GB, free: 80.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/5.473, allocations: 17.27 MB / 2.043 GB, free: 67.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/5.475, allocations: 2.214 MB / 2.045 GB, free: 66.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003408/5.478, allocations: 0.9493 MB / 2.046 GB, free: 66.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/5.48, allocations: 1.029 MB / 2.047 GB, free: 66.94 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/5.48, allocations: 0 / 2.047 GB, free: 66.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/5.591, allocations: 69.33 MB / 2.115 GB, free: 63.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/5.591, allocations: 275.3 kB / 2.115 GB, free: 63.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.39/9.98, allocations: 0 / 2.115 GB, free: 63.45 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)