Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 104 kB / 16.4 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001958, allocations: 196 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7587/0.7587, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 66.16 kB / 0.5685 GB, free: 28.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1808, allocations: 77.93 MB / 0.6446 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06066/0.2415, allocations: 55.98 MB / 0.6993 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02568/0.2672, allocations: 17.95 MB / 0.7168 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002893/0.2701, allocations: 75.56 kB / 0.7169 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.2732, allocations: 0.8963 MB / 0.7177 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007662/0.2809, allocations: 2.503 MB / 0.7202 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004324/0.2853, allocations: 1.529 MB / 0.7217 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02333/0.3086, allocations: 21.25 MB / 0.7424 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5397/0.8484, allocations: 10.67 MB / 0.7528 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02132/0.8698, allocations: 7.16 MB / 0.7598 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01844/0.8883, allocations: 6.369 MB / 0.7661 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.005686/0.894, allocations: 0.9381 MB / 0.767 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01187/0.9059, allocations: 1.697 MB / 0.7686 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006629/0.9126, allocations: 2.337 MB / 0.7709 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.015/0.9276, allocations: 4.711 MB / 0.7755 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02012/0.9478, allocations: 13.22 MB / 0.7884 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.9478, allocations: 0 / 0.7884 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.348e-06/0.9478, allocations: 3.469 kB / 0.7884 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005618/0.9484, allocations: 3.938 kB / 0.7884 GB, free: 2.965 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02746/0.9758, allocations: 8.723 MB / 0.797 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9759, allocations: 11.28 kB / 0.797 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/0.9814, allocations: 0.8882 MB / 0.7978 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.9964, allocations: 6.744 MB / 0.8044 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004664/0.9969, allocations: 460.5 kB / 0.8049 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/0.9999, allocations: 0.6022 MB / 0.8054 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02552/1.025, allocations: 9.029 MB / 0.8143 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003693/1.026, allocations: 26.52 kB / 0.8143 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00273/1.029, allocations: 261.6 kB / 0.8145 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002189/1.029, allocations: 180.7 kB / 0.8147 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/1.047, allocations: 7.449 MB / 0.822 GB, free: 1.797 MB / 0.5919 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.06615/1.114, allocations: 36.07 MB / 0.8572 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008872/1.122, allocations: 4.271 MB / 0.8614 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006427/1.129, allocations: 3.308 MB / 0.8646 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/1.131, allocations: 0.9528 MB / 0.8655 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005662/1.136, allocations: 2.386 MB / 0.8679 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004014/1.14, allocations: 388.9 kB / 0.8682 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 2.224e-05/1.14, allocations: 0 / 0.8682 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01768/1.158, allocations: 7.165 MB / 0.8752 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/1.158, allocations: 85.91 kB / 0.8753 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01548/1.174, allocations: 5.667 MB / 0.8809 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.175, allocations: 89.7 kB / 0.8809 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.005016/1.18, allocations: 3.28 MB / 0.8841 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00253/1.183, allocations: 1.161 MB / 0.8853 GB, free: 15.35 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0035/1.186, allocations: 0.8624 MB / 0.8861 GB, free: 14.48 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.186, allocations: 301.1 kB / 0.8864 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/1.191, allocations: 2.163 MB / 0.8885 GB, free: 12.01 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005726/1.196, allocations: 3.695 MB / 0.8921 GB, free: 7.637 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01033/1.207, allocations: 6.332 MB / 0.8983 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.467e-05/1.207, allocations: 16 kB / 0.8983 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01619/1.223, allocations: 6.8 MB / 0.905 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.223, allocations: 57.7 kB / 0.905 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/1.223, allocations: 48 kB / 0.9051 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/1.225, allocations: 433.8 kB / 0.9055 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/1.229, allocations: 1.002 MB / 0.9065 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007033/1.236, allocations: 5.712 MB / 0.912 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006654/1.243, allocations: 291.7 kB / 0.9123 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.244, allocations: 220 kB / 0.9125 GB, free: 2.336 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007662/1.252, allocations: 2.48 MB / 0.9149 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00289/1.255, allocations: 0.5513 MB / 0.9155 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/1.268, allocations: 5.269 MB / 0.9206 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.268, allocations: 32 kB / 0.9207 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.268, allocations: 4 kB / 0.9207 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007886/1.276, allocations: 4.534 MB / 0.9251 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/1.31, allocations: 11.99 MB / 0.9368 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/1.31, allocations: 4 kB / 0.9368 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003222/1.313, allocations: 0.6447 MB / 0.9374 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009839/1.314, allocations: 369.3 kB / 0.9378 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006184/1.315, allocations: 83.95 kB / 0.9379 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006092/1.321, allocations: 5.62 MB / 0.9434 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.321, allocations: 3.984 kB / 0.9434 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/1.336, allocations: 7.794 MB / 0.951 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/1.34, allocations: 1.185 MB / 0.9521 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/1.342, allocations: 67.92 kB / 0.9522 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004624/1.347, allocations: 193.5 kB / 0.9524 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006141/1.347, allocations: 209.3 kB / 0.9526 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005721/1.348, allocations: 139.9 kB / 0.9527 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.009315/1.357, allocations: 3.963 MB / 0.9566 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.7e-07/1.357, allocations: 0 / 0.9566 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0094/1.367, allocations: 2.02 MB / 0.9586 GB, free: 2.809 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,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,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/1.369, allocations: 0.489 MB / 0.959 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.379, allocations: 5.446 MB / 0.9643 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.379, allocations: 4 kB / 0.9644 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004414/1.383, allocations: 2.549 MB / 0.9668 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0207/1.404, allocations: 3.388 MB / 0.9701 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/1.439, allocations: 14.08 MB / 0.9839 GB, free: 9.125 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008527/1.447, allocations: 4.636 MB / 0.9884 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.009107/1.456, allocations: 2.085 MB / 0.9905 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002377/1.459, allocations: 462.4 kB / 0.9909 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of SimCode: time 1.072e-06/1.459, allocations: 0 / 0.9909 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of Templates: time 0.6467/2.105, allocations: 116.5 MB / 1.105 GB, free: 299.6 MB / 0.8262 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)