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.001093/0.001093, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001155/0.001155, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.17 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.8628/0.8628, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3227, allocations: 82.04 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0469/0.3697, allocations: 55.98 MB / 0.6504 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02265/0.3924, allocations: 17.95 MB / 0.6679 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.3952, allocations: 79.56 kB / 0.668 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.3978, allocations: 0.8963 MB / 0.6688 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006747/0.4046, allocations: 2.503 MB / 0.6713 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.4083, allocations: 1.539 MB / 0.6728 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01884/0.4272, allocations: 21.25 MB / 0.6935 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01199/0.4392, allocations: 10.69 MB / 0.704 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.4521, allocations: 7.172 MB / 0.711 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009931/0.4621, allocations: 6.35 MB / 0.7172 GB, free: 3.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002484/0.4646, allocations: 0.9414 MB / 0.7181 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006338/0.4709, allocations: 1.694 MB / 0.7198 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.4744, allocations: 2.341 MB / 0.722 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008807/0.4832, allocations: 4.711 MB / 0.7266 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01617/0.4994, allocations: 13.85 MB / 0.7402 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4995, allocations: 0 / 0.7402 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4995, allocations: 0 / 0.7402 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004063/0.4999, allocations: 0 / 0.7402 GB, free: 11.82 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.02029/0.5202, allocations: 8.53 MB / 0.7485 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.5202, allocations: 12.03 kB / 0.7485 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.5236, allocations: 0.8547 MB / 0.7493 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5211/1.045, allocations: 6.715 MB / 0.7559 GB, free: 137.3 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003314/1.045, allocations: 457.6 kB / 0.7563 GB, free: 137.1 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/1.047, allocations: 0.6 MB / 0.7569 GB, free: 136.9 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/1.061, allocations: 9.033 MB / 0.7657 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/1.061, allocations: 17.28 kB / 0.7658 GB, free: 132.5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005614/1.062, allocations: 263.9 kB / 0.766 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/1.062, allocations: 183.2 kB / 0.7662 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/1.073, allocations: 7.45 MB / 0.7735 GB, free: 127.5 MB / 0.5763 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.03933/1.112, allocations: 36.02 MB / 0.8086 GB, free: 89.96 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/1.117, allocations: 4.275 MB / 0.8128 GB, free: 85.72 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/1.121, allocations: 3.32 MB / 0.816 GB, free: 82.41 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.122, allocations: 0.9611 MB / 0.817 GB, free: 81.29 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003294/1.125, allocations: 2.382 MB / 0.8193 GB, free: 78.87 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00247/1.128, allocations: 370.4 kB / 0.8197 GB, free: 78.5 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 1.103e-05/1.128, allocations: 0 / 0.8197 GB, free: 78.5 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01196/1.14, allocations: 7.135 MB / 0.8266 GB, free: 71.32 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/1.14, allocations: 87.16 kB / 0.8267 GB, free: 71.22 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009665/1.15, allocations: 5.666 MB / 0.8323 GB, free: 65.57 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008267/1.151, allocations: 91.17 kB / 0.8323 GB, free: 65.48 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003047/1.154, allocations: 3.196 MB / 0.8355 GB, free: 62.27 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001583/1.155, allocations: 1.113 MB / 0.8365 GB, free: 61.16 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002102/1.157, allocations: 0.8605 MB / 0.8374 GB, free: 60.29 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/1.157, allocations: 301.1 kB / 0.8377 GB, free: 60 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/1.16, allocations: 2.163 MB / 0.8398 GB, free: 57.82 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/1.164, allocations: 3.695 MB / 0.8434 GB, free: 53.47 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/1.171, allocations: 6.322 MB / 0.8496 GB, free: 46.45 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.134e-05/1.171, allocations: 12 kB / 0.8496 GB, free: 46.43 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01058/1.182, allocations: 6.787 MB / 0.8562 GB, free: 39.59 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/1.182, allocations: 49.89 kB / 0.8563 GB, free: 39.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.299e-05/1.182, allocations: 56 kB / 0.8563 GB, free: 39.48 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/1.183, allocations: 430.7 kB / 0.8567 GB, free: 39.06 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/1.186, allocations: 1.006 MB / 0.8577 GB, free: 38.05 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/1.191, allocations: 5.688 MB / 0.8633 GB, free: 32.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/1.195, allocations: 291.4 kB / 0.8635 GB, free: 31.82 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008016/1.196, allocations: 216 kB / 0.8637 GB, free: 31.61 MB / 0.5763 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.004037/1.2, allocations: 2.487 MB / 0.8662 GB, free: 29.11 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/1.202, allocations: 0.5249 MB / 0.8667 GB, free: 28.57 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008566/1.21, allocations: 5.27 MB / 0.8718 GB, free: 23.26 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/1.21, allocations: 35.88 kB / 0.8719 GB, free: 23.23 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/1.211, allocations: 15.94 kB / 0.8719 GB, free: 23.21 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005714/1.216, allocations: 4.527 MB / 0.8763 GB, free: 18.58 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/1.238, allocations: 11.98 MB / 0.888 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.238, allocations: 0 / 0.888 GB, free: 6.488 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/1.241, allocations: 0.6438 MB / 0.8886 GB, free: 5.844 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007278/1.241, allocations: 377.3 kB / 0.889 GB, free: 5.469 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.242, allocations: 79.95 kB / 0.8891 GB, free: 5.391 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004397/1.246, allocations: 5.62 MB / 0.8946 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.246, allocations: 4.062 kB / 0.8946 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.258, allocations: 7.761 MB / 0.9021 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003613/1.262, allocations: 1.159 MB / 0.9033 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001343/1.263, allocations: 63.98 kB / 0.9033 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/1.267, allocations: 198.7 kB / 0.9035 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004181/1.267, allocations: 202.2 kB / 0.9037 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003768/1.267, allocations: 139.9 kB / 0.9038 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006861/1.274, allocations: 3.959 MB / 0.9077 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.274, allocations: 3.938 kB / 0.9077 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006046/1.28, allocations: 2.01 MB / 0.9097 GB, free: 15.92 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.001299/1.282, allocations: 0.5008 MB / 0.9102 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008452/1.29, allocations: 5.447 MB / 0.9155 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.29, allocations: 4.312 kB / 0.9155 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003756/1.294, allocations: 2.541 MB / 0.918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/1.31, allocations: 3.391 MB / 0.9213 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/1.334, allocations: 13.88 MB / 0.9348 GB, free: 6.211 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005409/1.34, allocations: 4.636 MB / 0.9394 GB, free: 1.539 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006754/1.346, allocations: 2.084 MB / 0.9414 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.348, allocations: 467.2 kB / 0.9418 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of SimCode: time 1.623e-06/1.348, allocations: 0 / 0.9418 GB, free: 15.02 MB / 0.6388 GB Notification: Performance of Templates: time 0.4247/1.773, allocations: 115.2 MB / 1.054 GB, free: 231.1 MB / 0.7013 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)