Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001026, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6989/0.6989, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009513/0.0009512, allocations: 105 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.964e-05, allocations: 7.703 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.217, allocations: 82.31 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.633/1.85, allocations: 387.5 MB / 1.019 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004187/1.851, allocations: 86.86 kB / 1.019 GB, free: 200.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.785/5.636, allocations: 0.9898 GB / 2.009 GB, free: 12.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.717e-06/5.636, allocations: 3.938 kB / 2.009 GB, free: 12.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005155/5.637, allocations: 83.91 kB / 2.009 GB, free: 12.21 MB / 0.698 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.01228/5.649, allocations: 2.695 MB / 2.011 GB, free: 9.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/5.649, allocations: 8.031 kB / 2.011 GB, free: 9.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/5.652, allocations: 360.6 kB / 2.012 GB, free: 9.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007998/5.66, allocations: 3.103 MB / 2.015 GB, free: 5.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/5.66, allocations: 180.6 kB / 2.015 GB, free: 5.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/5.66, allocations: 243.9 kB / 2.015 GB, free: 5.523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006143/5.667, allocations: 2.985 MB / 2.018 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/5.667, allocations: 3.938 kB / 2.018 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002734/5.667, allocations: 100 kB / 2.018 GB, free: 2.297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.691e-05/5.667, allocations: 67.92 kB / 2.018 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5576/6.225, allocations: 2.335 MB / 2.021 GB, free: 117.4 MB / 0.698 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.0234/6.248, allocations: 12.98 MB / 2.033 GB, free: 111.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/6.251, allocations: 1.625 MB / 2.035 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/6.253, allocations: 1.118 MB / 2.036 GB, free: 111.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/6.254, allocations: 0.713 MB / 2.037 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/6.254, allocations: 52.16 kB / 2.037 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002302/6.256, allocations: 226 kB / 2.037 GB, free: 110.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=126): time 7.544e-06/6.256, allocations: 0 / 2.037 GB, free: 110.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=126): time 0.003604/6.26, allocations: 1.693 MB / 2.039 GB, free: 110.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/6.26, allocations: 153.8 kB / 2.039 GB, free: 110 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/6.263, allocations: 1.888 MB / 2.041 GB, free: 109.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/6.264, allocations: 58.23 kB / 2.041 GB, free: 109.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001462/6.265, allocations: 1.271 MB / 2.042 GB, free: 109.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005774/6.266, allocations: 441.4 kB / 2.042 GB, free: 109.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.822e-05/6.266, allocations: 31.16 kB / 2.042 GB, free: 109.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001471/6.266, allocations: 377 kB / 2.043 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/6.267, allocations: 0.6879 MB / 2.043 GB, free: 108.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/6.269, allocations: 1.217 MB / 2.044 GB, free: 108.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/6.27, allocations: 0.9299 MB / 2.045 GB, free: 108.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/6.27, allocations: 3.969 kB / 2.045 GB, free: 108.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004482/6.274, allocations: 2.321 MB / 2.048 GB, free: 108.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001231/6.276, allocations: 5.715 MB / 2.053 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/6.276, allocations: 14.84 kB / 2.053 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/6.278, allocations: 484.2 kB / 2.054 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/6.279, allocations: 354.4 kB / 2.054 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/6.282, allocations: 3.102 MB / 2.057 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003273/6.286, allocations: 228.9 kB / 2.057 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/6.286, allocations: 82.92 kB / 2.057 GB, free: 100.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/6.286, allocations: 7.141 kB / 2.057 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004354/6.29, allocations: 2.103 MB / 2.059 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-05/6.29, allocations: 18.19 kB / 2.059 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/6.291, allocations: 238 kB / 2.06 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/6.293, allocations: 374.8 kB / 2.06 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/6.297, allocations: 4.151 MB / 2.064 GB, free: 97.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/6.301, allocations: 217 kB / 2.064 GB, free: 97.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/6.301, allocations: 83.23 kB / 2.064 GB, free: 97.4 MB / 0.698 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.00085/6.302, allocations: 206.1 kB / 2.065 GB, free: 97.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/6.303, allocations: 215.3 kB / 2.065 GB, free: 97.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/6.308, allocations: 1.992 MB / 2.067 GB, free: 97.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/6.308, allocations: 15.56 kB / 2.067 GB, free: 97.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/6.308, allocations: 3.812 kB / 2.067 GB, free: 97.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/6.31, allocations: 1.583 MB / 2.068 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009681/6.32, allocations: 4.596 MB / 2.073 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/6.32, allocations: 2.469 kB / 2.073 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/6.321, allocations: 211.9 kB / 2.073 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/6.323, allocations: 434.6 kB / 2.073 GB, free: 96.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/6.323, allocations: 31.92 kB / 2.073 GB, free: 96.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002447/6.325, allocations: 3.01 MB / 2.076 GB, free: 94.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/6.325, allocations: 0 / 2.076 GB, free: 94.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004576/6.33, allocations: 2.94 MB / 2.079 GB, free: 94.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/6.332, allocations: 0.5161 MB / 2.08 GB, free: 94.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003845/6.332, allocations: 29.59 kB / 2.08 GB, free: 94.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/6.334, allocations: 196.6 kB / 2.08 GB, free: 94.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/6.334, allocations: 102.2 kB / 2.08 GB, free: 94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/6.334, allocations: 57.69 kB / 2.08 GB, free: 94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002597/6.337, allocations: 1.458 MB / 2.082 GB, free: 93.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/6.337, allocations: 0 / 2.082 GB, free: 93.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005507/6.343, allocations: 1.53 MB / 2.083 GB, free: 93.73 MB / 0.698 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.00128/6.344, allocations: 0.565 MB / 2.084 GB, free: 93.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005257/6.349, allocations: 3.314 MB / 2.087 GB, free: 93.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/6.349, allocations: 3.688 kB / 2.087 GB, free: 93.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/6.351, allocations: 0.9692 MB / 2.088 GB, free: 93.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007316/6.358, allocations: 1.125 MB / 2.089 GB, free: 93.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008732/6.367, allocations: 4.321 MB / 2.093 GB, free: 92.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/6.368, allocations: 2.211 MB / 2.095 GB, free: 91.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004304/6.373, allocations: 1.403 MB / 2.097 GB, free: 91.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/6.373, allocations: 145 kB / 2.097 GB, free: 91.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.094e-06/6.373, allocations: 0 / 2.097 GB, free: 91.42 MB / 0.698 GB Notification: Performance of Templates: time 0.08647/6.46, allocations: 51.3 MB / 2.147 GB, free: 89.27 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)