Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001091/0.001091, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001195/0.001195, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8293/0.8293, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 63.91 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.426, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04859/0.4746, allocations: 55.99 MB / 0.6504 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02379/0.4985, allocations: 17.97 MB / 0.6679 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003374/0.5019, allocations: 75.62 kB / 0.668 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.5047, allocations: 0.8885 MB / 0.6688 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.5119, allocations: 2.51 MB / 0.6713 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/0.5158, allocations: 1.538 MB / 0.6728 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02032/0.5362, allocations: 21.24 MB / 0.6935 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01335/0.5496, allocations: 10.7 MB / 0.704 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01399/0.5636, allocations: 7.15 MB / 0.711 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01126/0.5749, allocations: 6.366 MB / 0.7172 GB, free: 3.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002753/0.5777, allocations: 0.9375 MB / 0.7181 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00707/0.5848, allocations: 1.702 MB / 0.7198 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004/0.5888, allocations: 2.337 MB / 0.722 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009916/0.5987, allocations: 4.711 MB / 0.7266 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01467/0.6134, allocations: 13.85 MB / 0.7402 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.6135, allocations: 4 kB / 0.7402 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6135, allocations: 0 / 0.7402 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003858/0.6139, allocations: 0 / 0.7402 GB, free: 11.8 MB / 0.5762 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.01926/0.6331, allocations: 8.522 MB / 0.7485 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6332, allocations: 12.03 kB / 0.7485 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.6361, allocations: 0.8586 MB / 0.7493 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3328/0.9689, allocations: 6.711 MB / 0.7559 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.9692, allocations: 460.9 kB / 0.7563 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.9709, allocations: 0.5992 MB / 0.7569 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.9875, allocations: 9.023 MB / 0.7657 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.9877, allocations: 21.34 kB / 0.7657 GB, free: 132.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005718/0.9882, allocations: 262.9 kB / 0.766 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.9884, allocations: 184.2 kB / 0.7662 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.999, allocations: 7.449 MB / 0.7735 GB, free: 127.5 MB / 0.5762 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.03971/1.039, allocations: 36.01 MB / 0.8086 GB, free: 89.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005615/1.044, allocations: 4.278 MB / 0.8128 GB, free: 85.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/1.048, allocations: 3.313 MB / 0.816 GB, free: 82.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.05, allocations: 0.9556 MB / 0.817 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003455/1.053, allocations: 2.386 MB / 0.8193 GB, free: 78.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00275/1.056, allocations: 375.7 kB / 0.8197 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 1.345e-05/1.056, allocations: 0 / 0.8197 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01214/1.068, allocations: 7.129 MB / 0.8266 GB, free: 71.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/1.068, allocations: 85.91 kB / 0.8267 GB, free: 71.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.078, allocations: 5.673 MB / 0.8322 GB, free: 65.53 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007565/1.079, allocations: 89.69 kB / 0.8323 GB, free: 65.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003082/1.082, allocations: 3.191 MB / 0.8354 GB, free: 62.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002148/1.084, allocations: 1.116 MB / 0.8365 GB, free: 61.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/1.087, allocations: 0.858 MB / 0.8374 GB, free: 60.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/1.087, allocations: 302.5 kB / 0.8377 GB, free: 59.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003599/1.091, allocations: 2.163 MB / 0.8398 GB, free: 57.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00393/1.095, allocations: 3.697 MB / 0.8434 GB, free: 53.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006468/1.101, allocations: 6.324 MB / 0.8496 GB, free: 46.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/1.101, allocations: 12 kB / 0.8496 GB, free: 46.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009293/1.111, allocations: 6.779 MB / 0.8562 GB, free: 39.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/1.111, allocations: 62.62 kB / 0.8562 GB, free: 39.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.565e-05/1.111, allocations: 51.98 kB / 0.8563 GB, free: 39.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008141/1.111, allocations: 435 kB / 0.8567 GB, free: 39.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/1.115, allocations: 1.01 MB / 0.8577 GB, free: 38.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004595/1.119, allocations: 5.688 MB / 0.8633 GB, free: 32.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005631/1.125, allocations: 287.3 kB / 0.8635 GB, free: 31.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/1.125, allocations: 216 kB / 0.8637 GB, free: 31.57 MB / 0.5762 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.005303/1.131, allocations: 2.487 MB / 0.8662 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/1.132, allocations: 0.5219 MB / 0.8667 GB, free: 28.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007412/1.14, allocations: 5.265 MB / 0.8718 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.14, allocations: 35.98 kB / 0.8718 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.14, allocations: 15.88 kB / 0.8719 GB, free: 23.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004963/1.145, allocations: 4.527 MB / 0.8763 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01659/1.161, allocations: 11.99 MB / 0.888 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.161, allocations: 0 / 0.888 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/1.164, allocations: 0.6438 MB / 0.8886 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006828/1.164, allocations: 380.3 kB / 0.889 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.165, allocations: 84.14 kB / 0.8891 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004473/1.169, allocations: 5.611 MB / 0.8945 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.169, allocations: 4 kB / 0.8945 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.182, allocations: 7.769 MB / 0.9021 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004028/1.186, allocations: 1.154 MB / 0.9033 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/1.187, allocations: 67.98 kB / 0.9033 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003492/1.191, allocations: 194.9 kB / 0.9035 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/1.191, allocations: 198.2 kB / 0.9037 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003451/1.192, allocations: 139.9 kB / 0.9038 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006856/1.199, allocations: 3.959 MB / 0.9077 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/1.199, allocations: 0 / 0.9077 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008632/1.207, allocations: 2.009 MB / 0.9097 GB, free: 15.88 MB / 0.6075 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.001728/1.209, allocations: 0.503 MB / 0.9102 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009377/1.218, allocations: 5.446 MB / 0.9155 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.218, allocations: 4 kB / 0.9155 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004011/1.222, allocations: 2.538 MB / 0.918 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01609/1.239, allocations: 3.395 MB / 0.9213 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/1.263, allocations: 13.88 MB / 0.9348 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/1.268, allocations: 4.632 MB / 0.9393 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006597/1.275, allocations: 2.091 MB / 0.9414 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.276, allocations: 463.2 kB / 0.9418 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of SimCode: time 1.282e-06/1.276, allocations: 4 kB / 0.9418 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.4923/1.769, allocations: 115.2 MB / 1.054 GB, free: 231.1 MB / 0.7012 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)