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.001069/0.001069, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001122/0.001122, allocations: 199.3 kB / 16.26 MB, free: 6.625 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.9541/0.9541, allocations: 143 MB / 433.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 0.5137 GB, free: 11.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1648, allocations: 82.03 MB / 0.5938 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3096/0.4744, allocations: 55.51 MB / 0.648 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.4938, allocations: 17.8 MB / 0.6654 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.4968, allocations: 70.38 kB / 0.6654 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.4992, allocations: 0.7655 MB / 0.6662 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.5055, allocations: 2.326 MB / 0.6684 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.5088, allocations: 1.399 MB / 0.6698 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02241/0.5312, allocations: 21.35 MB / 0.6907 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01682/0.5481, allocations: 10.58 MB / 0.701 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01733/0.5655, allocations: 7.221 MB / 0.708 GB, free: 8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.5775, allocations: 6.559 MB / 0.7145 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003024/0.5805, allocations: 0.9297 MB / 0.7154 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006776/0.5873, allocations: 1.702 MB / 0.717 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003802/0.5911, allocations: 2.314 MB / 0.7193 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009406/0.6005, allocations: 4.696 MB / 0.7239 GB, free: 8.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.6162, allocations: 13.68 MB / 0.7372 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6162, allocations: 0 / 0.7372 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6163, allocations: 0 / 0.7372 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004968/0.6168, allocations: 0 / 0.7372 GB, free: 10.91 MB / 0.5606 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.02117/0.6379, allocations: 8.507 MB / 0.7455 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.638, allocations: 8.031 kB / 0.7455 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.642, allocations: 0.8625 MB / 0.7464 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.6543, allocations: 6.638 MB / 0.7529 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.6547, allocations: 460.6 kB / 0.7533 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001441/0.6561, allocations: 0.5936 MB / 0.7539 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.6715, allocations: 9.025 MB / 0.7627 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.6716, allocations: 27.8 kB / 0.7627 GB, free: 320 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/0.6722, allocations: 260 kB / 0.763 GB, free: 60 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.6724, allocations: 176 kB / 0.7631 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.6838, allocations: 7.449 MB / 0.7704 GB, free: 8.43 MB / 0.5919 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.04635/0.7302, allocations: 35.95 MB / 0.8055 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007251/0.7374, allocations: 4.276 MB / 0.8097 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0052/0.7427, allocations: 3.32 MB / 0.8129 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.7441, allocations: 0.9505 MB / 0.8139 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004363/0.7485, allocations: 2.382 MB / 0.8162 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002905/0.7514, allocations: 415.8 kB / 0.8166 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 9.838e-06/0.7515, allocations: 0 / 0.8166 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01363/0.7651, allocations: 7.133 MB / 0.8236 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.7652, allocations: 85.91 kB / 0.8236 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009391/0.7746, allocations: 5.467 MB / 0.829 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0006429/0.7753, allocations: 89.7 kB / 0.8291 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002869/0.7782, allocations: 3.188 MB / 0.8322 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.7796, allocations: 1.117 MB / 0.8333 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/0.781, allocations: 0.8542 MB / 0.8341 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.556e-05/0.7811, allocations: 313 kB / 0.8344 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003213/0.7843, allocations: 2.163 MB / 0.8365 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004313/0.7887, allocations: 3.685 MB / 0.8401 GB, free: 13.92 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/0.797, allocations: 6.327 MB / 0.8463 GB, free: 6.875 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/0.797, allocations: 16 kB / 0.8463 GB, free: 6.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01255/0.8096, allocations: 6.772 MB / 0.8529 GB, free: 36 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.2723/1.082, allocations: 52.73 kB / 0.853 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/1.082, allocations: 49.59 kB / 0.853 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.083, allocations: 434.5 kB / 0.8534 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/1.087, allocations: 1.007 MB / 0.8544 GB, free: 191.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/1.092, allocations: 5.689 MB / 0.86 GB, free: 188.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/1.097, allocations: 467.1 kB / 0.8604 GB, free: 188.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/1.097, allocations: 222.3 kB / 0.8606 GB, free: 188.7 MB / 0.67 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.00402/1.101, allocations: 2.487 MB / 0.8631 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.103, allocations: 0.5245 MB / 0.8636 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/1.11, allocations: 5.266 MB / 0.8687 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/1.11, allocations: 39.38 kB / 0.8687 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/1.11, allocations: 6.344 kB / 0.8688 GB, free: 186.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005341/1.116, allocations: 4.533 MB / 0.8732 GB, free: 184.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.134, allocations: 11.95 MB / 0.8849 GB, free: 180.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.134, allocations: 5.031 kB / 0.8849 GB, free: 180.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/1.137, allocations: 0.6461 MB / 0.8855 GB, free: 180.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000847/1.138, allocations: 382 kB / 0.8859 GB, free: 180.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/1.138, allocations: 87.34 kB / 0.8859 GB, free: 180 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/1.143, allocations: 5.616 MB / 0.8914 GB, free: 175.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.143, allocations: 1.281 kB / 0.8914 GB, free: 175.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.154, allocations: 7.764 MB / 0.899 GB, free: 173 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003122/1.157, allocations: 1.135 MB / 0.9001 GB, free: 172.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.158, allocations: 72.8 kB / 0.9002 GB, free: 172.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00377/1.162, allocations: 462.5 kB / 0.9006 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000499/1.163, allocations: 202.8 kB / 0.9008 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/1.163, allocations: 138.6 kB / 0.9009 GB, free: 172.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.006469/1.17, allocations: 3.809 MB / 0.9047 GB, free: 171 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.21e-07/1.17, allocations: 0 / 0.9047 GB, free: 171 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00747/1.177, allocations: 1.988 MB / 0.9066 GB, free: 170.7 MB / 0.67 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.00139/1.178, allocations: 498.1 kB / 0.9071 GB, free: 170.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02141/1.2, allocations: 11.63 MB / 0.9184 GB, free: 168.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.2, allocations: 3.562 kB / 0.9184 GB, free: 168.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003366/1.203, allocations: 2.55 MB / 0.9209 GB, free: 167.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01474/1.218, allocations: 3.397 MB / 0.9243 GB, free: 166.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.239, allocations: 16.59 MB / 0.9405 GB, free: 152.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003332/1.242, allocations: 4.626 MB / 0.945 GB, free: 148.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006386/1.249, allocations: 2.038 MB / 0.947 GB, free: 147.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.25, allocations: 456.5 kB / 0.9474 GB, free: 146.7 MB / 0.67 GB Notification: Performance of SimCode: time 8.42e-07/1.25, allocations: 4 kB / 0.9474 GB, free: 146.7 MB / 0.67 GB Notification: Performance of Templates: time 0.1479/1.398, allocations: 120 MB / 1.065 GB, free: 28.45 MB / 0.67 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)