Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.635/1.635, allocations: 287.4 MB / 303.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009072/0.0009073, allocations: 182.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007554/0.0007554, allocations: 86.34 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 16.06 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.04054/0.2242, allocations: 51.75 MB / 1.03 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02233/0.2466, allocations: 16.28 MB / 1.046 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.2493, allocations: 63.62 kB / 1.046 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.2519, allocations: 0.695 MB / 1.046 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.2579, allocations: 1.955 MB / 1.048 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004055/0.262, allocations: 1.314 MB / 1.05 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.4031/0.6651, allocations: 32.5 MB / 1.081 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01649/0.6816, allocations: 11.4 MB / 1.092 GB, free: 26.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01331/0.6949, allocations: 7.219 MB / 1.1 GB, free: 26.4 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01451/0.7095, allocations: 7.547 MB / 1.107 GB, free: 25.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003063/0.7126, allocations: 473.6 kB / 1.107 GB, free: 25.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009145/0.7217, allocations: 1.339 MB / 1.109 GB, free: 25.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005915/0.7277, allocations: 2.095 MB / 1.111 GB, free: 25.26 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.007866/0.7356, allocations: 2.216 MB / 1.113 GB, free: 24.89 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.752, allocations: 14.38 MB / 1.127 GB, free: 21.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.752, allocations: 2.406 kB / 1.127 GB, free: 21.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.524e-06/0.752, allocations: 0 / 1.127 GB, free: 21.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007512/0.7528, allocations: 0 / 1.127 GB, free: 21.7 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: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02357/0.7764, allocations: 9.393 MB / 1.136 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7764, allocations: 8.688 kB / 1.136 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006175/0.7826, allocations: 1.176 MB / 1.137 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/0.8015, allocations: 9.033 MB / 1.146 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005721/0.8022, allocations: 0.6168 MB / 1.147 GB, free: 12.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/0.8052, allocations: 0.8142 MB / 1.147 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/0.8351, allocations: 12.46 MB / 1.16 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004586/0.8356, allocations: 30.41 kB / 1.16 GB, free: 7.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00273/0.8383, allocations: 357.8 kB / 1.16 GB, free: 6.961 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002923/0.8386, allocations: 247.9 kB / 1.16 GB, free: 6.719 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.8625, allocations: 10.36 MB / 1.17 GB, free: 12.35 MB / 0.7136 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.07801/0.9405, allocations: 48.86 MB / 1.218 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.9516, allocations: 6.245 MB / 1.224 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008535/0.9602, allocations: 5.064 MB / 1.229 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.9617, allocations: 0.843 MB / 1.23 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006707/0.9684, allocations: 3.42 MB / 1.233 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004844/0.9733, allocations: 0.4946 MB / 1.234 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=449): time 1.666e-05/0.9733, allocations: 0 / 1.234 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=449): time 0.01602/0.9893, allocations: 8.838 MB / 1.242 GB, free: 128 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.9895, allocations: 166.2 kB / 1.243 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01418/1.004, allocations: 7.234 MB / 1.25 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001403/1.005, allocations: 117.7 kB / 1.25 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.005358/1.01, allocations: 4.291 MB / 1.254 GB, free: 4.297 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.002378/1.013, allocations: 1.563 MB / 1.255 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005918/1.013, allocations: 116 kB / 1.256 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003198/1.014, allocations: 0.5459 MB / 1.256 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004324/1.018, allocations: 2.996 MB / 1.259 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005034/1.023, allocations: 4.874 MB / 1.264 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009895/1.033, allocations: 8.563 MB / 1.272 GB, free: 15.98 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.891e-05/1.033, allocations: 20 kB / 1.272 GB, free: 15.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01341/1.047, allocations: 8.826 MB / 1.281 GB, free: 7.113 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001209/1.048, allocations: 1.899 MB / 1.283 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.18e-05/1.048, allocations: 56 kB / 1.283 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.735e-05/1.048, allocations: 92 kB / 1.283 GB, free: 4.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004818/1.053, allocations: 1.357 MB / 1.284 GB, free: 2.891 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001375/1.053, allocations: 127.6 kB / 1.284 GB, free: 2.766 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006929/1.06, allocations: 0.6309 MB / 1.285 GB, free: 2.133 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000574/1.06, allocations: 272 kB / 1.285 GB, free: 1.867 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.06, allocations: 5.406 kB / 1.285 GB, free: 1.863 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01187/1.072, allocations: 8.251 MB / 1.293 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.072, allocations: 59.94 kB / 1.293 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-05/1.073, allocations: 95.98 kB / 1.293 GB, free: 9.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004731/1.077, allocations: 1.357 MB / 1.295 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001284/1.077, allocations: 127.6 kB / 1.295 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006959/1.084, allocations: 0.6039 MB / 1.295 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006413/1.085, allocations: 270.6 kB / 1.296 GB, free: 7.094 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 264 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007065/1.092, allocations: 3.563 MB / 1.299 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002552/1.095, allocations: 0.7102 MB / 1.3 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/1.109, allocations: 7.089 MB / 1.307 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00914/1.118, allocations: 5.814 MB / 1.312 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/1.118, allocations: 0 / 1.312 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005092/1.123, allocations: 1.703 MB / 1.314 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002288/1.125, allocations: 99.97 kB / 1.314 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006167/1.131, allocations: 0.5181 MB / 1.315 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005473/1.132, allocations: 251.1 kB / 1.315 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01291/1.145, allocations: 7.079 MB / 1.322 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01676/1.162, allocations: 11.32 MB / 1.333 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004105/1.166, allocations: 3.182 MB / 1.336 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009476/1.175, allocations: 5.054 MB / 1.341 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of Backend: time 5.71e-07/1.175, allocations: 0 / 1.341 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0216/1.197, allocations: 9.481 MB / 1.35 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of SimCode: time 0.04987/1.247, allocations: 24.02 MB / 1.374 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of Templates: time 0.9353/2.182, allocations: 175.2 MB / 1.545 GB, free: 259.2 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)