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.005813/0.005813, allocations: 100.2 kB / 15.87 MB, free: 5.863 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.001117/0.001117, allocations: 190.6 kB / 16.79 MB, free: 5.805 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.321/1.321, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.9606/0.9606, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.88 kB / 0.5141 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1704, allocations: 82.04 MB / 0.5943 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.3982/0.5686, allocations: 55.63 MB / 0.6486 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.5902, allocations: 17.93 MB / 0.6661 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00375/0.594, allocations: 67.69 kB / 0.6662 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.5974, allocations: 0.7216 MB / 0.6669 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008437/0.6059, allocations: 2.331 MB / 0.6691 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004542/0.6104, allocations: 1.373 MB / 0.6705 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03579/0.6462, allocations: 27.82 MB / 0.6977 GB, free: 224 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01651/0.6628, allocations: 8.694 MB / 0.7061 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01435/0.6772, allocations: 5.533 MB / 0.7116 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.6894, allocations: 6.178 MB / 0.7176 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002823/0.6923, allocations: 476 kB / 0.718 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007494/0.6998, allocations: 1.147 MB / 0.7192 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004303/0.7042, allocations: 1.802 MB / 0.7209 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.7151, allocations: 4.125 MB / 0.7249 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.729, allocations: 11.28 MB / 0.736 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.7291, allocations: 4 kB / 0.736 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7291, allocations: 0 / 0.736 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005149/0.7296, allocations: 0 / 0.736 GB, free: 12.73 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.02533/0.7549, allocations: 8.513 MB / 0.7443 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.755, allocations: 8.031 kB / 0.7443 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.7599, allocations: 0.8586 MB / 0.7451 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.7747, allocations: 6.637 MB / 0.7516 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005203/0.7752, allocations: 460.6 kB / 0.752 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/0.7778, allocations: 0.6052 MB / 0.7526 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/0.801, allocations: 9.024 MB / 0.7614 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003048/0.8013, allocations: 27.88 kB / 0.7615 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002172/0.8035, allocations: 256 kB / 0.7617 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/0.8037, allocations: 176 kB / 0.7619 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.8207, allocations: 7.453 MB / 0.7692 GB, free: 10.24 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.05657/0.8773, allocations: 35.94 MB / 0.8043 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007228/0.8846, allocations: 4.272 MB / 0.8084 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005317/0.89, allocations: 3.304 MB / 0.8117 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.8914, allocations: 0.9583 MB / 0.8126 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004963/0.8964, allocations: 2.386 MB / 0.8149 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003428/0.8999, allocations: 443.8 kB / 0.8154 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=317): time 1.089e-05/0.8999, allocations: 3.938 kB / 0.8154 GB, free: 8.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317): time 0.01636/0.9163, allocations: 7.091 MB / 0.8223 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.9164, allocations: 85.91 kB / 0.8224 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/0.928, allocations: 5.467 MB / 0.8277 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0008585/0.9289, allocations: 93.64 kB / 0.8278 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003885/0.9328, allocations: 3.192 MB / 0.8309 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/0.9347, allocations: 1.117 MB / 0.832 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00269/0.9374, allocations: 0.8542 MB / 0.8328 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9376, allocations: 309.1 kB / 0.8331 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004449/0.9421, allocations: 2.152 MB / 0.8352 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006162/0.9482, allocations: 3.681 MB / 0.8388 GB, free: 15.77 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009677/0.9579, allocations: 6.311 MB / 0.845 GB, free: 8.738 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.305e-05/0.958, allocations: 16 kB / 0.845 GB, free: 8.723 MB / 0.67 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01365/0.9717, allocations: 6.748 MB / 0.8516 GB, free: 1.922 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.9718, allocations: 53.7 kB / 0.8516 GB, free: 1.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.955e-05/0.9719, allocations: 48 kB / 0.8517 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.9731, allocations: 435.8 kB / 0.8521 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00393/0.977, allocations: 1.006 MB / 0.8531 GB, free: 388 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.569/1.546, allocations: 5.263 MB / 0.8582 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005331/1.551, allocations: 466.3 kB / 0.8587 GB, free: 187.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008279/1.552, allocations: 215.6 kB / 0.8589 GB, free: 187.9 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.004776/1.557, allocations: 2.478 MB / 0.8613 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/1.559, allocations: 0.5283 MB / 0.8618 GB, free: 187.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008462/1.567, allocations: 5.251 MB / 0.8669 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/1.567, allocations: 32 kB / 0.867 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.567, allocations: 7.594 kB / 0.867 GB, free: 186 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005938/1.573, allocations: 4.526 MB / 0.8714 GB, free: 184.2 MB / 0.67 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 postOpt removeSimpleEquations (simulation): time 0.02016/1.593, allocations: 11.96 MB / 0.8831 GB, free: 179.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.594, allocations: 4.344 kB / 0.8831 GB, free: 179.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002718/1.596, allocations: 0.641 MB / 0.8837 GB, free: 179.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008727/1.597, allocations: 369 kB / 0.8841 GB, free: 179.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/1.597, allocations: 90.28 kB / 0.8841 GB, free: 179.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/1.602, allocations: 5.176 MB / 0.8892 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.602, allocations: 4.094 kB / 0.8892 GB, free: 175.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.614, allocations: 7.62 MB / 0.8966 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003568/1.618, allocations: 1.13 MB / 0.8978 GB, free: 172.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.619, allocations: 70.25 kB / 0.8978 GB, free: 172.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/1.624, allocations: 465 kB / 0.8983 GB, free: 172.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005522/1.624, allocations: 202.8 kB / 0.8985 GB, free: 172.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/1.625, allocations: 137.5 kB / 0.8986 GB, free: 172.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00695/1.632, allocations: 3.809 MB / 0.9023 GB, free: 170.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.632, allocations: 3.828 kB / 0.9023 GB, free: 170.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00789/1.64, allocations: 1.985 MB / 0.9042 GB, free: 170.6 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.001583/1.641, allocations: 494.6 kB / 0.9047 GB, free: 170.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009078/1.65, allocations: 5.37 MB / 0.91 GB, free: 168.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.65, allocations: 5.5 kB / 0.91 GB, free: 168.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/1.655, allocations: 2.506 MB / 0.9124 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.01774/1.672, allocations: 3.227 MB / 0.9156 GB, free: 166.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/1.699, allocations: 16.51 MB / 0.9317 GB, free: 158.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003863/1.703, allocations: 4.555 MB / 0.9361 GB, free: 156.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.705, allocations: 487.4 kB / 0.9366 GB, free: 156.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.543e-06/1.705, allocations: 0 / 0.9366 GB, free: 156.5 MB / 0.67 GB Notification: Performance of Templates: time 0.4906/2.196, allocations: 186.2 MB / 1.118 GB, free: 211.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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)