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.001052/0.001053, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001111/0.001111, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 295 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3955, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05012/0.4456, allocations: 55.96 MB / 0.8217 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.4672, allocations: 17.97 MB / 0.8392 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.4695, allocations: 75.62 kB / 0.8393 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.4719, allocations: 0.9119 MB / 0.8402 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006834/0.4787, allocations: 2.62 MB / 0.8428 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.4827, allocations: 1.539 MB / 0.8443 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01931/0.502, allocations: 21.28 MB / 0.865 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.5139, allocations: 10.68 MB / 0.8755 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01285/0.5268, allocations: 7.238 MB / 0.8825 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009814/0.5366, allocations: 6.37 MB / 0.8888 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003465/0.5401, allocations: 0.9375 MB / 0.8897 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.5461, allocations: 1.698 MB / 0.8913 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003484/0.5496, allocations: 2.333 MB / 0.8936 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008681/0.5583, allocations: 4.707 MB / 0.8982 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01586/0.5742, allocations: 13.2 MB / 0.9111 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.5742, allocations: 0 / 0.9111 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5742, allocations: 4 kB / 0.9111 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004093/0.5746, allocations: 4 kB / 0.9111 GB, free: 15.89 MB / 0.6856 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.02095/0.5956, allocations: 8.518 MB / 0.9194 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5957, allocations: 8.031 kB / 0.9194 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003758/0.5994, allocations: 0.8508 MB / 0.9203 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.6138, allocations: 6.706 MB / 0.9268 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.6142, allocations: 468.3 kB / 0.9273 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.6161, allocations: 0.5975 MB / 0.9279 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.6356, allocations: 9.025 MB / 0.9367 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002235/0.6359, allocations: 23.78 kB / 0.9367 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001469/0.6373, allocations: 256 kB / 0.9369 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.6375, allocations: 179.9 kB / 0.9371 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.6521, allocations: 7.449 MB / 0.9444 GB, free: 13.33 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.3748/1.027, allocations: 36 MB / 0.9795 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/1.032, allocations: 4.283 MB / 0.9837 GB, free: 150 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003649/1.036, allocations: 3.307 MB / 0.9869 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009921/1.037, allocations: 0.9526 MB / 0.9879 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003038/1.04, allocations: 2.39 MB / 0.9902 GB, free: 146 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001853/1.042, allocations: 361.6 kB / 0.9906 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 5.811e-06/1.042, allocations: 0 / 0.9906 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01048/1.052, allocations: 7.14 MB / 0.9975 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.052, allocations: 85.91 kB / 0.9976 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00629/1.059, allocations: 5.663 MB / 1.003 GB, free: 136.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000522/1.059, allocations: 85.7 kB / 1.003 GB, free: 136.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001957/1.061, allocations: 3.203 MB / 1.006 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009792/1.062, allocations: 1.108 MB / 1.007 GB, free: 131.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009858/1.063, allocations: 0.8593 MB / 1.008 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/1.063, allocations: 308.8 kB / 1.009 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002624/1.066, allocations: 2.16 MB / 1.011 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/1.069, allocations: 3.698 MB / 1.014 GB, free: 124.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005871/1.075, allocations: 6.321 MB / 1.02 GB, free: 117.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/1.075, allocations: 16 kB / 1.02 GB, free: 117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008794/1.083, allocations: 6.78 MB / 1.027 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/1.084, allocations: 61.62 kB / 1.027 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/1.084, allocations: 48 kB / 1.027 GB, free: 110.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/1.084, allocations: 437.6 kB / 1.028 GB, free: 109.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/1.088, allocations: 0.9983 MB / 1.029 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/1.092, allocations: 5.705 MB / 1.034 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/1.096, allocations: 283.4 kB / 1.034 GB, free: 102.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/1.097, allocations: 220 kB / 1.035 GB, free: 102.2 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.003355/1.1, allocations: 2.489 MB / 1.037 GB, free: 99.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/1.101, allocations: 0.5288 MB / 1.038 GB, free: 99.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007095/1.109, allocations: 5.258 MB / 1.043 GB, free: 93.86 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005065/1.114, allocations: 4.542 MB / 1.047 GB, free: 89.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.946e-06/1.114, allocations: 0 / 1.047 GB, free: 89.21 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/1.116, allocations: 1.174 MB / 1.048 GB, free: 88.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009776/1.117, allocations: 63.98 kB / 1.048 GB, free: 87.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002916/1.12, allocations: 189.4 kB / 1.049 GB, free: 87.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/1.121, allocations: 214.2 kB / 1.049 GB, free: 87.56 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008001/1.129, allocations: 5.255 MB / 1.054 GB, free: 82.32 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008977/1.138, allocations: 7.92 MB / 1.062 GB, free: 74.32 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002276/1.14, allocations: 2.226 MB / 1.064 GB, free: 72.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005706/1.146, allocations: 3.963 MB / 1.068 GB, free: 68.15 MB / 0.7169 GB Notification: Performance of Backend: time 5.11e-07/1.146, allocations: 0 / 1.068 GB, free: 68.15 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008024/1.154, allocations: 4.115 MB / 1.072 GB, free: 64.06 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0249/1.179, allocations: 15.45 MB / 1.087 GB, free: 48.66 MB / 0.7169 GB Notification: Performance of Templates: time 0.158/1.337, allocations: 118.3 MB / 1.202 GB, free: 11.49 MB / 0.795 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)