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.00149/0.001491, allocations: 111 kB / 16.42 MB, free: 6.469 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.001817/0.001817, allocations: 187.9 kB / 17.35 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 298.1 kB / 291.5 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.3 MB / 0.499 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3884, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04901/0.4374, allocations: 55.97 MB / 0.8217 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02175/0.4592, allocations: 17.96 MB / 0.8392 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.4618, allocations: 75.56 kB / 0.8393 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.4638, allocations: 0.8924 MB / 0.8402 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.4697, allocations: 2.513 MB / 0.8426 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.4729, allocations: 1.528 MB / 0.8441 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01832/0.4912, allocations: 21.26 MB / 0.8649 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.5044, allocations: 10.68 MB / 0.8753 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01201/0.5165, allocations: 7.232 MB / 0.8824 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009782/0.5263, allocations: 6.358 MB / 0.8886 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.5285, allocations: 0.9375 MB / 0.8895 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005108/0.5337, allocations: 1.702 MB / 0.8912 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002273/0.536, allocations: 2.337 MB / 0.8935 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006983/0.5429, allocations: 4.707 MB / 0.8981 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.5556, allocations: 13.2 MB / 0.9109 GB, free: 40 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.5557, allocations: 4 kB / 0.911 GB, free: 36 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5557, allocations: 0 / 0.911 GB, free: 36 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003008/0.556, allocations: 0 / 0.911 GB, free: 36 kB / 0.67 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.01678/0.5728, allocations: 8.514 MB / 0.9193 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5729, allocations: 8.031 kB / 0.9193 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.5756, allocations: 0.8508 MB / 0.9201 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.5868, allocations: 6.711 MB / 0.9267 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.5871, allocations: 460.4 kB / 0.9271 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.5882, allocations: 0.5975 MB / 0.9277 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.6025, allocations: 9.028 MB / 0.9365 GB, free: 5.383 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/0.6026, allocations: 23.78 kB / 0.9365 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006344/0.6033, allocations: 260 kB / 0.9368 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.6034, allocations: 179.9 kB / 0.9369 GB, free: 4.93 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01201/0.6155, allocations: 7.449 MB / 0.9442 GB, free: 13.47 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.3879/1.003, allocations: 36 MB / 0.9794 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/1.009, allocations: 4.284 MB / 0.9836 GB, free: 150 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003845/1.013, allocations: 3.299 MB / 0.9868 GB, free: 148.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.014, allocations: 0.9609 MB / 0.9877 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003112/1.017, allocations: 2.382 MB / 0.99 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002249/1.019, allocations: 363.8 kB / 0.9904 GB, free: 146 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 7.103e-06/1.019, allocations: 0 / 0.9904 GB, free: 146 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01053/1.03, allocations: 7.138 MB / 0.9974 GB, free: 142 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.03, allocations: 85.58 kB / 0.9974 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006609/1.036, allocations: 5.671 MB / 1.003 GB, free: 136.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006955/1.037, allocations: 85.7 kB / 1.003 GB, free: 136.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.039, allocations: 3.195 MB / 1.006 GB, free: 133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001185/1.04, allocations: 1.117 MB / 1.007 GB, free: 131.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009907/1.041, allocations: 0.8538 MB / 1.008 GB, free: 131 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.076e-05/1.041, allocations: 309.1 kB / 1.008 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/1.044, allocations: 2.166 MB / 1.011 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002993/1.047, allocations: 3.696 MB / 1.014 GB, free: 124.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005863/1.053, allocations: 6.318 MB / 1.02 GB, free: 117.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/1.053, allocations: 12 kB / 1.02 GB, free: 117.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008836/1.062, allocations: 6.787 MB / 1.027 GB, free: 110.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/1.062, allocations: 57.86 kB / 1.027 GB, free: 110.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.046e-05/1.062, allocations: 52 kB / 1.027 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008283/1.063, allocations: 429.4 kB / 1.027 GB, free: 109.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/1.066, allocations: 1.002 MB / 1.028 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/1.07, allocations: 5.702 MB / 1.034 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/1.075, allocations: 291.1 kB / 1.034 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/1.076, allocations: 216 kB / 1.034 GB, free: 102.3 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.003394/1.079, allocations: 2.485 MB / 1.037 GB, free: 99.83 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001219/1.08, allocations: 0.5288 MB / 1.037 GB, free: 99.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00696/1.087, allocations: 5.271 MB / 1.043 GB, free: 93.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005038/1.092, allocations: 4.53 MB / 1.047 GB, free: 89.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.092, allocations: 7.938 kB / 1.047 GB, free: 89.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/1.095, allocations: 1.178 MB / 1.048 GB, free: 88.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007912/1.095, allocations: 63.98 kB / 1.048 GB, free: 88.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.098, allocations: 184.2 kB / 1.048 GB, free: 87.89 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003782/1.099, allocations: 214.2 kB / 1.049 GB, free: 87.68 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007876/1.106, allocations: 5.251 MB / 1.054 GB, free: 82.45 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008966/1.115, allocations: 7.92 MB / 1.061 GB, free: 74.46 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002231/1.118, allocations: 2.234 MB / 1.064 GB, free: 72.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004832/1.123, allocations: 3.955 MB / 1.067 GB, free: 68.28 MB / 0.7169 GB Notification: Performance of Backend: time 9.52e-07/1.123, allocations: 0 / 1.067 GB, free: 68.28 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007829/1.13, allocations: 4.111 MB / 1.072 GB, free: 64.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.02766/1.158, allocations: 15.44 MB / 1.087 GB, free: 48.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.1643/1.322, allocations: 118.3 MB / 1.202 GB, free: 11.63 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)