Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.624/2.624, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001344, allocations: 181.2 kB / 325.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.448/2.448, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009265/0.0009262, allocations: 92.36 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 12.94 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2152, allocations: 106.3 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04608/0.2613, allocations: 34.91 MB / 0.9331 GB, free: 30.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02263/0.284, allocations: 11.74 MB / 0.9446 GB, free: 18.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.2865, allocations: 47.62 kB / 0.9446 GB, free: 18.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002254/0.2888, allocations: 421.2 kB / 0.945 GB, free: 18.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.2942, allocations: 1.253 MB / 0.9463 GB, free: 16.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.2985, allocations: 0.941 MB / 0.9472 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.3106, allocations: 8.914 MB / 0.9559 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005185/0.3158, allocations: 2.931 MB / 0.9587 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/0.3211, allocations: 2.109 MB / 0.9608 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004856/0.326, allocations: 2.143 MB / 0.9629 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000857/0.3269, allocations: 132 kB / 0.963 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.331, allocations: 0.7876 MB / 0.9638 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.3324, allocations: 0.5797 MB / 0.9644 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001689/0.3341, allocations: 0.6408 MB / 0.965 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007508/0.3417, allocations: 3.955 MB / 0.9689 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.3418, allocations: 4 kB / 0.9689 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3418, allocations: 4 kB / 0.9689 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001735/0.342, allocations: 0 / 0.9689 GB, free: 9.637 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.01043/0.3524, allocations: 2.989 MB / 0.9718 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.3525, allocations: 8.031 kB / 0.9718 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/0.3547, allocations: 360.7 kB / 0.9721 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00794/0.3627, allocations: 2.501 MB / 0.9746 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.363, allocations: 176.6 kB / 0.9747 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009252/0.3639, allocations: 236 kB / 0.975 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.3745, allocations: 3.187 MB / 0.9781 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.3747, allocations: 0 / 0.9781 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005628/0.3753, allocations: 107.9 kB / 0.9782 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.3754, allocations: 63.94 kB / 0.9782 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008901/0.3843, allocations: 2.57 MB / 0.9808 GB, free: 13.18 MB / 0.6355 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.03582/0.4202, allocations: 13.72 MB / 0.9942 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/0.4252, allocations: 1.622 MB / 0.9957 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003316/0.4286, allocations: 1.174 MB / 0.9969 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.43, allocations: 0.7283 MB / 0.9976 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.832e-05/0.4301, allocations: 47.56 kB / 0.9976 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002507/0.4326, allocations: 187.7 kB / 0.9978 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 1.039e-05/0.4327, allocations: 0 / 0.9978 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126): time 0.01583/0.4486, allocations: 3.366 MB / 1.001 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.4487, allocations: 141.5 kB / 1.001 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.4534, allocations: 1.946 MB / 1.003 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004106/0.4539, allocations: 57.7 kB / 1.003 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.4556, allocations: 1.25 MB / 1.004 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009144/0.4566, allocations: 445.7 kB / 1.005 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.4568, allocations: 28 kB / 1.005 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002223/0.457, allocations: 377.8 kB / 1.005 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002273/0.4593, allocations: 0.73 MB / 1.006 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.4622, allocations: 1.236 MB / 1.007 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.4652, allocations: 0.951 MB / 1.008 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.293e-05/0.4652, allocations: 4 kB / 1.008 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007456/0.4727, allocations: 2.409 MB / 1.01 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000449/0.4732, allocations: 0.5073 MB / 1.011 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.197e-05/0.4732, allocations: 15.94 kB / 1.011 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/0.4766, allocations: 493.9 kB / 1.011 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/0.4794, allocations: 343.4 kB / 1.012 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005463/0.4849, allocations: 3.139 MB / 1.015 GB, free: 8.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003743/0.4887, allocations: 223.5 kB / 1.015 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/0.4891, allocations: 79.97 kB / 1.015 GB, free: 8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4892, allocations: 4 kB / 1.015 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00645/0.4956, allocations: 2.176 MB / 1.017 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/0.4957, allocations: 20.06 kB / 1.017 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4968, allocations: 245.4 kB / 1.017 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002934/0.4998, allocations: 367.4 kB / 1.018 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006684/0.5065, allocations: 4.181 MB / 1.022 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003423/0.51, allocations: 219.6 kB / 1.022 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/0.5103, allocations: 79.97 kB / 1.022 GB, free: 456 kB / 0.6667 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,yTop.u,$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.002518/0.5128, allocations: 1.008 MB / 1.023 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006724/0.5135, allocations: 201.5 kB / 1.023 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005852/0.5193, allocations: 2.05 MB / 1.025 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.5194, allocations: 16 kB / 1.025 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.5194, allocations: 3.938 kB / 1.025 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004351/0.5238, allocations: 1.664 MB / 1.027 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.5372, allocations: 4.662 MB / 1.032 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5372, allocations: 0 / 1.032 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/0.5391, allocations: 207.8 kB / 1.032 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002646/0.5418, allocations: 422.4 kB / 1.032 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002892/0.5421, allocations: 39.91 kB / 1.032 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004785/0.5469, allocations: 3.051 MB / 1.035 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.547, allocations: 0 / 1.035 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/0.5574, allocations: 2.983 MB / 1.038 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003109/0.5606, allocations: 0.5022 MB / 1.039 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008202/0.5615, allocations: 32 kB / 1.039 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004834/0.5663, allocations: 198.9 kB / 1.039 GB, free: 15.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006239/0.567, allocations: 97.16 kB / 1.039 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/0.5673, allocations: 51.97 kB / 1.039 GB, free: 14.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005081/0.5724, allocations: 1.33 MB / 1.04 GB, free: 13.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.232e-06/0.5725, allocations: 0 / 1.04 GB, free: 13.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009807/0.5823, allocations: 1.476 MB / 1.042 GB, free: 12.11 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,yTop.u,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.001732/0.5841, allocations: 377.2 kB / 1.042 GB, free: 11.74 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01448/0.5986, allocations: 3.346 MB / 1.045 GB, free: 8.355 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.5987, allocations: 4.062 kB / 1.045 GB, free: 8.352 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004197/0.6029, allocations: 1.02 MB / 1.046 GB, free: 7.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01588/0.6188, allocations: 1.166 MB / 1.047 GB, free: 6.168 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7919/1.411, allocations: 6.276 MB / 1.054 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004387/1.415, allocations: 2.15 MB / 1.056 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.006943/1.422, allocations: 0.9243 MB / 1.057 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/1.424, allocations: 180.2 kB / 1.057 GB, free: 139.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.424, allocations: 0 / 1.057 GB, free: 139.7 MB / 0.698 GB Notification: Performance of Templates: time 0.1459/1.57, allocations: 44.43 MB / 1.1 GB, free: 116.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)