Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00119/0.00119, allocations: 106.5 kB / 15.99 MB, free: 6.348 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.001164/0.001164, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.256/1.256, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 282.8 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.2 MB / 0.4985 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 93.23 kB / 0.5953 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1717, allocations: 86.97 MB / 0.6803 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3425/0.5143, allocations: 55.51 MB / 0.7345 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0248/0.5391, allocations: 17.8 MB / 0.7518 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.543, allocations: 70.69 kB / 0.7519 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.5468, allocations: 0.7587 MB / 0.7527 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008886/0.5557, allocations: 2.323 MB / 0.7549 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004647/0.5603, allocations: 1.403 MB / 0.7563 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.026/0.5863, allocations: 21.35 MB / 0.7771 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.6, allocations: 10.58 MB / 0.7875 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01673/0.6167, allocations: 7.221 MB / 0.7945 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01199/0.6288, allocations: 6.557 MB / 0.8009 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003535/0.6324, allocations: 0.9258 MB / 0.8018 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007879/0.6403, allocations: 1.698 MB / 0.8035 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004956/0.6453, allocations: 2.325 MB / 0.8058 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01152/0.6568, allocations: 4.696 MB / 0.8103 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.6718, allocations: 10.74 MB / 0.8208 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.6719, allocations: 0 / 0.8208 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.816e-06/0.6719, allocations: 0 / 0.8208 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0005417/0.6724, allocations: 0 / 0.8208 GB, free: 15.62 MB / 0.5919 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.02524/0.6977, allocations: 8.507 MB / 0.8291 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.6978, allocations: 12.03 kB / 0.8292 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004878/0.7027, allocations: 0.8508 MB / 0.83 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.7179, allocations: 6.625 MB / 0.8365 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005252/0.7184, allocations: 460.5 kB / 0.8369 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.7211, allocations: 0.5975 MB / 0.8375 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.7442, allocations: 9.025 MB / 0.8463 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002818/0.7445, allocations: 19.78 kB / 0.8463 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001956/0.7465, allocations: 260 kB / 0.8466 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/0.7468, allocations: 183.9 kB / 0.8467 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/0.7635, allocations: 7.445 MB / 0.854 GB, free: 13.17 MB / 0.6231 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.05641/0.8199, allocations: 35.91 MB / 0.8891 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008046/0.828, allocations: 4.287 MB / 0.8933 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005562/0.8336, allocations: 3.312 MB / 0.8965 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.8351, allocations: 0.9544 MB / 0.8974 GB, free: 14.44 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004934/0.84, allocations: 2.386 MB / 0.8998 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003494/0.8436, allocations: 407.8 kB / 0.9002 GB, free: 11.62 MB / 0.67 GB Notification: Performance of pre-optimization done (n=317): time 1.32e-05/0.8436, allocations: 0 / 0.9002 GB, free: 11.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=317): time 0.01603/0.8597, allocations: 7.136 MB / 0.9071 GB, free: 4.391 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.8598, allocations: 89.84 kB / 0.9072 GB, free: 4.289 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/0.8706, allocations: 5.459 MB / 0.9125 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008504/0.8715, allocations: 89.7 kB / 0.9126 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003289/0.8748, allocations: 3.196 MB / 0.9157 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00171/0.8765, allocations: 1.117 MB / 0.9168 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/0.8779, allocations: 0.8541 MB / 0.9177 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.878, allocations: 309.1 kB / 0.918 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/0.8813, allocations: 2.163 MB / 0.9201 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004416/0.8857, allocations: 3.697 MB / 0.9237 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008832/0.8946, allocations: 6.319 MB / 0.9299 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.177e-05/0.8946, allocations: 12 kB / 0.9299 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0135/0.9082, allocations: 6.78 MB / 0.9365 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.9083, allocations: 53.7 kB / 0.9365 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001102/0.9084, allocations: 48.09 kB / 0.9366 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.9096, allocations: 437.3 kB / 0.937 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/0.9137, allocations: 1.002 MB / 0.938 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.92, allocations: 5.712 MB / 0.9436 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/0.9265, allocations: 466.8 kB / 0.944 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.9276, allocations: 216 kB / 0.9442 GB, free: 12.57 MB / 0.7169 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.006138/0.9338, allocations: 2.479 MB / 0.9466 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00235/0.9362, allocations: 0.5287 MB / 0.9471 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.9478, allocations: 5.265 MB / 0.9523 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.9479, allocations: 44.11 kB / 0.9523 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.436e-05/0.948, allocations: 4 kB / 0.9523 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6057/1.554, allocations: 4.53 MB / 0.9568 GB, free: 228.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/1.579, allocations: 11.94 MB / 0.9684 GB, free: 225 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/1.579, allocations: 1.188 kB / 0.9684 GB, free: 225 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.582, allocations: 0.6468 MB / 0.9691 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009012/1.583, allocations: 372.1 kB / 0.9694 GB, free: 224.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/1.583, allocations: 86.47 kB / 0.9695 GB, free: 224.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005189/1.588, allocations: 5.615 MB / 0.975 GB, free: 220.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.588, allocations: 5.188 kB / 0.975 GB, free: 220.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/1.6, allocations: 7.758 MB / 0.9826 GB, free: 217.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003315/1.604, allocations: 1.142 MB / 0.9837 GB, free: 217.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.605, allocations: 65.77 kB / 0.9837 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004469/1.61, allocations: 462.5 kB / 0.9842 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/1.61, allocations: 196.1 kB / 0.9844 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003893/1.611, allocations: 143.2 kB / 0.9845 GB, free: 217.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.006587/1.617, allocations: 3.806 MB / 0.9882 GB, free: 216.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/1.617, allocations: 1.25 kB / 0.9882 GB, free: 216.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008859/1.626, allocations: 1.994 MB / 0.9902 GB, free: 215.8 MB / 0.7169 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.001658/1.628, allocations: 485.8 kB / 0.9906 GB, free: 215.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02069/1.649, allocations: 11.64 MB / 1.002 GB, free: 213.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.649, allocations: 0 / 1.002 GB, free: 213.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/1.652, allocations: 2.538 MB / 1.004 GB, free: 212.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01571/1.668, allocations: 3.397 MB / 1.008 GB, free: 210.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.69, allocations: 16.63 MB / 1.024 GB, free: 194.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/1.694, allocations: 4.555 MB / 1.028 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/1.696, allocations: 496 kB / 1.029 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.262e-06/1.696, allocations: 0 / 1.029 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.1765/1.872, allocations: 186.2 MB / 1.211 GB, free: 3.465 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)