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.000975/0.0009749, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008294/0.008294, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.515/1.515, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.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.842/1.842, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005584/0.0005585, allocations: 11.47 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2963, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05452/0.3509, allocations: 54.55 MB / 0.8411 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02593/0.3769, allocations: 17.64 MB / 0.8584 GB, free: 3.145 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/0.381, allocations: 63.62 kB / 0.8584 GB, free: 3.082 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003602/0.3846, allocations: 0.7185 MB / 0.8591 GB, free: 2.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00894/0.3936, allocations: 2.313 MB / 0.8614 GB, free: 36 kB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004854/0.3984, allocations: 1.369 MB / 0.8627 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02758/0.426, allocations: 27.68 MB / 0.8898 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.4394, allocations: 8.417 MB / 0.898 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01283/0.4523, allocations: 5.213 MB / 0.9031 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5406/0.993, allocations: 5.777 MB / 0.9087 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002962/0.996, allocations: 346.2 kB / 0.909 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006881/1.003, allocations: 1.027 MB / 0.91 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004725/1.008, allocations: 1.598 MB / 0.9116 GB, free: 17.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01261/1.02, allocations: 3.865 MB / 0.9154 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02224/1.043, allocations: 12.25 MB / 0.9273 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.043, allocations: 0 / 0.9273 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/1.043, allocations: 0 / 0.9273 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006505/1.043, allocations: 1.406 kB / 0.9273 GB, free: 16.41 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.02292/1.066, allocations: 6.839 MB / 0.934 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.066, allocations: 9.938 kB / 0.934 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006911/1.073, allocations: 0.8521 MB / 0.9349 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02136/1.095, allocations: 6.494 MB / 0.9412 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000844/1.096, allocations: 460.8 kB / 0.9416 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003511/1.099, allocations: 0.601 MB / 0.9422 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02909/1.128, allocations: 9.033 MB / 0.9511 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007091/1.129, allocations: 17.56 kB / 0.9511 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003278/1.132, allocations: 260.4 kB / 0.9513 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003018/1.133, allocations: 180.5 kB / 0.9515 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.155, allocations: 7.454 MB / 0.9588 GB, free: 11.2 MB / 0.7169 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.06808/1.223, allocations: 35.96 MB / 0.9939 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008259/1.231, allocations: 4.299 MB / 0.9981 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005975/1.237, allocations: 3.33 MB / 1.001 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.239, allocations: 0.9827 MB / 1.002 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005249/1.244, allocations: 2.388 MB / 1.005 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006055/1.25, allocations: 442.3 kB / 1.005 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=317): time 2.284e-05/1.25, allocations: 0 / 1.005 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=317): time 0.01724/1.267, allocations: 7.135 MB / 1.012 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/1.268, allocations: 87.97 kB / 1.012 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/1.281, allocations: 5.374 MB / 1.017 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/1.283, allocations: 91.11 kB / 1.017 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.005031/1.288, allocations: 3.168 MB / 1.021 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002735/1.291, allocations: 1.116 MB / 1.022 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/1.292, allocations: 369.6 kB / 1.022 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.292, allocations: 301.1 kB / 1.022 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004923/1.297, allocations: 2.159 MB / 1.024 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006019/1.303, allocations: 3.69 MB / 1.028 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.314, allocations: 6.32 MB / 1.034 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.905e-05/1.314, allocations: 12 kB / 1.034 GB, free: 6.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01658/1.331, allocations: 6.755 MB / 1.041 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.977e-05/1.331, allocations: 64.91 kB / 1.041 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.885e-05/1.331, allocations: 48 kB / 1.041 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.332, allocations: 430.6 kB / 1.041 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004246/1.336, allocations: 1.018 MB / 1.042 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006053/1.342, allocations: 5.263 MB / 1.047 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008168/1.351, allocations: 470.7 kB / 1.048 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/1.352, allocations: 216 kB / 1.048 GB, free: 8.266 MB / 0.7794 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.007641/1.36, allocations: 2.46 MB / 1.05 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002574/1.362, allocations: 0.525 MB / 1.051 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.376, allocations: 5.25 MB / 1.056 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/1.376, allocations: 35.98 kB / 1.056 GB, free: 0 / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-05/1.376, allocations: 4.047 kB / 1.056 GB, free: 15.99 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0086/1.385, allocations: 4.535 MB / 1.061 GB, free: 11.37 MB / 0.795 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 postOpt removeSimpleEquations (simulation): time 0.03179/1.417, allocations: 11.96 MB / 1.072 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.417, allocations: 7.922 kB / 1.072 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003202/1.42, allocations: 0.6472 MB / 1.073 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009674/1.421, allocations: 384.3 kB / 1.073 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005561/1.422, allocations: 83.95 kB / 1.073 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/1.427, allocations: 5.168 MB / 1.078 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.427, allocations: 7.219 kB / 1.078 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/1.442, allocations: 7.631 MB / 1.086 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004849/1.447, allocations: 1.209 MB / 1.087 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002633/1.45, allocations: 71.98 kB / 1.087 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00663/1.456, allocations: 469.8 kB / 1.088 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008527/1.457, allocations: 198.2 kB / 1.088 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000735/1.458, allocations: 135.9 kB / 1.088 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.009844/1.468, allocations: 3.742 MB / 1.092 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.51e-07/1.468, allocations: 0 / 1.092 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01071/1.479, allocations: 1.979 MB / 1.093 GB, free: 9.34 MB / 0.8262 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.002042/1.481, allocations: 0.489 MB / 1.094 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.491, allocations: 5.384 MB / 1.099 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.491, allocations: 0 / 1.099 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/1.496, allocations: 2.517 MB / 1.102 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02378/1.52, allocations: 3.235 MB / 1.105 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/1.554, allocations: 16.57 MB / 1.121 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007565/1.561, allocations: 4.592 MB / 1.125 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.008855/1.57, allocations: 2.003 MB / 1.127 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/1.572, allocations: 457.8 kB / 1.128 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of SimCode: time 9.51e-07/1.572, allocations: 0 / 1.128 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.2558/1.828, allocations: 114.9 MB / 1.24 GB, free: 4.812 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: