Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00118/0.001179, allocations: 103.9 kB / 16.37 MB, free: 6.449 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.00119/0.00119, allocations: 189.6 kB / 17.31 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.5496 GB, free: 17.38 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 70.88 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2466, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.491/0.7376, allocations: 55.99 MB / 0.8395 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.7652, allocations: 17.87 MB / 0.8569 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/0.7698, allocations: 76.12 kB / 0.857 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003866/0.7738, allocations: 0.9028 MB / 0.8579 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.784, allocations: 2.474 MB / 0.8603 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005475/0.7895, allocations: 1.525 MB / 0.8618 GB, free: 12.94 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02625/0.8157, allocations: 21.13 MB / 0.8824 GB, free: 1.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01635/0.8321, allocations: 10.68 MB / 0.8928 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01824/0.8504, allocations: 7.164 MB / 0.8998 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.8634, allocations: 6.358 MB / 0.906 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.003674/0.8671, allocations: 0.9413 MB / 0.907 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009091/0.8762, allocations: 1.698 MB / 0.9086 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005095/0.8814, allocations: 2.341 MB / 0.9109 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/0.8938, allocations: 4.686 MB / 0.9155 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01986/0.9138, allocations: 13.13 MB / 0.9283 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.9138, allocations: 0 / 0.9283 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9138, allocations: 0 / 0.9283 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004453/0.9143, allocations: 0 / 0.9283 GB, free: 7.441 MB / 0.7169 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.02319/0.9375, allocations: 8.46 MB / 0.9366 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.9375, allocations: 12.03 kB / 0.9366 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004399/0.942, allocations: 0.8431 MB / 0.9374 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.9564, allocations: 6.567 MB / 0.9438 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/0.957, allocations: 468.4 kB / 0.9443 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002138/0.9591, allocations: 0.5975 MB / 0.9448 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.9805, allocations: 9.021 MB / 0.9537 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.9807, allocations: 19.86 kB / 0.9537 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008881/0.9816, allocations: 264 kB / 0.9539 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.9818, allocations: 179.9 kB / 0.9541 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.9973, allocations: 7.441 MB / 0.9614 GB, free: 5.098 MB / 0.7481 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.05555/1.053, allocations: 35.97 MB / 0.9965 GB, free: 15.05 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007382/1.06, allocations: 4.28 MB / 1.001 GB, free: 10.77 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/1.066, allocations: 3.309 MB / 1.004 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.067, allocations: 0.9543 MB / 1.005 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004504/1.072, allocations: 2.394 MB / 1.007 GB, free: 3.883 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002559/1.074, allocations: 375.8 kB / 1.008 GB, free: 3.512 MB / 0.795 GB Notification: Performance of pre-optimization done (n=317): time 1.172e-05/1.074, allocations: 4 kB / 1.008 GB, free: 3.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=317): time 0.01444/1.089, allocations: 7.127 MB / 1.014 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/1.089, allocations: 81.91 kB / 1.015 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.1, allocations: 5.582 MB / 1.02 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0007254/1.101, allocations: 93.69 kB / 1.02 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.003952/1.105, allocations: 3.168 MB / 1.023 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.00198/1.107, allocations: 1.113 MB / 1.024 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002508/1.109, allocations: 0.8542 MB / 1.025 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.109, allocations: 309.1 kB / 1.025 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/1.114, allocations: 2.163 MB / 1.028 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/1.119, allocations: 3.697 MB / 1.031 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009941/1.129, allocations: 6.319 MB / 1.037 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.03e-05/1.129, allocations: 12 kB / 1.037 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01446/1.143, allocations: 6.772 MB / 1.044 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.813e-05/1.143, allocations: 53.7 kB / 1.044 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.602e-05/1.143, allocations: 51.94 kB / 1.044 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.145, allocations: 430 kB / 1.044 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/1.149, allocations: 1.01 MB / 1.045 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006588/1.155, allocations: 5.692 MB / 1.051 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/1.161, allocations: 287.4 kB / 1.051 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/1.162, allocations: 220.6 kB / 1.051 GB, free: 4.586 MB / 0.8419 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.006106/1.169, allocations: 2.457 MB / 1.054 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00238/1.171, allocations: 0.521 MB / 1.054 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/1.183, allocations: 5.263 MB / 1.06 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/1.183, allocations: 32 kB / 1.06 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.183, allocations: 4 kB / 1.06 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007744/1.191, allocations: 4.528 MB / 1.064 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02829/1.219, allocations: 11.96 MB / 1.076 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.219, allocations: 4 kB / 1.076 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003066/1.222, allocations: 0.6438 MB / 1.076 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009407/1.223, allocations: 375.3 kB / 1.077 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004633/1.224, allocations: 83.95 kB / 1.077 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006916/1.23, allocations: 5.624 MB / 1.082 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.23, allocations: 4 kB / 1.082 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/1.247, allocations: 7.757 MB / 1.09 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00386/1.251, allocations: 1.155 MB / 1.091 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001911/1.253, allocations: 75.86 kB / 1.091 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004273/1.257, allocations: 184.5 kB / 1.091 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000626/1.257, allocations: 198.2 kB / 1.091 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004683/1.258, allocations: 139.9 kB / 1.092 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.007844/1.266, allocations: 3.902 MB / 1.095 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.51e-07/1.266, allocations: 0 / 1.095 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00903/1.275, allocations: 2.003 MB / 1.097 GB, free: 4.984 MB / 0.8887 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.00196/1.277, allocations: 0.4935 MB / 1.098 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.287, allocations: 5.448 MB / 1.103 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.287, allocations: 4.875 kB / 1.103 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004522/1.292, allocations: 2.533 MB / 1.106 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01935/1.311, allocations: 3.397 MB / 1.109 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/1.341, allocations: 13.83 MB / 1.122 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00667/1.348, allocations: 4.525 MB / 1.127 GB, free: 6.715 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002543/1.35, allocations: 487.2 kB / 1.127 GB, free: 6.238 MB / 0.92 GB Notification: Performance of SimCode: time 9.41e-07/1.35, allocations: 0 / 1.127 GB, free: 6.238 MB / 0.92 GB Notification: Performance of Templates: time 0.5925/1.943, allocations: 185.7 MB / 1.309 GB, free: 152.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)