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.009267/0.009268, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001917/0.001917, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.378/1.378, allocations: 222.9 MB / 240.4 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.9069/0.9069, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 56.88 kB / 0.5955 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1459, allocations: 82.03 MB / 0.6756 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05227/0.1982, allocations: 56 MB / 0.7303 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.221, allocations: 17.95 MB / 0.7478 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.2236, allocations: 79.56 kB / 0.7479 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4077/0.6314, allocations: 0.8893 MB / 0.7488 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008463/0.6399, allocations: 2.502 MB / 0.7512 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.6446, allocations: 1.532 MB / 0.7527 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02697/0.6716, allocations: 21.26 MB / 0.7735 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01682/0.6885, allocations: 10.68 MB / 0.7839 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01964/0.7082, allocations: 7.235 MB / 0.791 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01668/0.7249, allocations: 6.365 MB / 0.7972 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004528/0.7294, allocations: 0.9411 MB / 0.7981 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00989/0.7394, allocations: 1.703 MB / 0.7998 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005597/0.745, allocations: 2.332 MB / 0.802 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01359/0.7586, allocations: 4.702 MB / 0.8066 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0211/0.7798, allocations: 13.87 MB / 0.8202 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.7798, allocations: 0 / 0.8202 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7798, allocations: 4 kB / 0.8202 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000409/0.7802, allocations: 0 / 0.8202 GB, free: 5.824 MB / 0.6075 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.02159/0.8018, allocations: 8.528 MB / 0.8285 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.8019, allocations: 8.031 kB / 0.8285 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.8048, allocations: 0.8625 MB / 0.8294 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/0.8176, allocations: 6.717 MB / 0.8359 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.818, allocations: 459.7 kB / 0.8364 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001836/0.8198, allocations: 0.6051 MB / 0.837 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.8367, allocations: 9.026 MB / 0.8458 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.8368, allocations: 15.88 kB / 0.8458 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007227/0.8375, allocations: 256 kB / 0.846 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.8377, allocations: 183.9 kB / 0.8462 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/0.851, allocations: 7.449 MB / 0.8535 GB, free: 3.449 MB / 0.6387 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.0473/0.8983, allocations: 36.01 MB / 0.8886 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006104/0.9044, allocations: 4.286 MB / 0.8928 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.9089, allocations: 3.307 MB / 0.8961 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.9102, allocations: 0.9529 MB / 0.897 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003746/0.9139, allocations: 2.382 MB / 0.8993 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002582/0.9165, allocations: 375.2 kB / 0.8997 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.029e-05/0.9165, allocations: 3.984 kB / 0.8997 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01252/0.9291, allocations: 7.128 MB / 0.9066 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.9292, allocations: 89.89 kB / 0.9067 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008234/0.9374, allocations: 5.662 MB / 0.9123 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006702/0.9381, allocations: 89.7 kB / 0.9123 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002891/0.941, allocations: 3.195 MB / 0.9155 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/0.9425, allocations: 1.124 MB / 0.9166 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.9437, allocations: 0.854 MB / 0.9174 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.9438, allocations: 301.1 kB / 0.9177 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003313/0.9472, allocations: 2.167 MB / 0.9198 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004466/0.9516, allocations: 3.701 MB / 0.9234 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008176/0.9598, allocations: 6.319 MB / 0.9296 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/0.9599, allocations: 15.94 kB / 0.9296 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01152/0.9714, allocations: 6.772 MB / 0.9362 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.9715, allocations: 50.7 kB / 0.9363 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.339e-05/0.9716, allocations: 52 kB / 0.9363 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.9726, allocations: 438.9 kB / 0.9367 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.9761, allocations: 1.011 MB / 0.9377 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0058/0.9819, allocations: 5.689 MB / 0.9433 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/0.9869, allocations: 287.5 kB / 0.9435 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/0.9874, allocations: 220 kB / 0.9438 GB, free: 3.219 MB / 0.7325 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.00449/0.9919, allocations: 2.481 MB / 0.9462 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/0.9934, allocations: 0.5287 MB / 0.9467 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00859/1.002, allocations: 5.27 MB / 0.9518 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/1.002, allocations: 28 kB / 0.9519 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.002, allocations: 12 kB / 0.9519 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006021/1.008, allocations: 4.524 MB / 0.9563 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/1.027, allocations: 11.99 MB / 0.968 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.027, allocations: 3.938 kB / 0.968 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.03, allocations: 0.6438 MB / 0.9686 GB, free: 9.508 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/1.031, allocations: 373.3 kB / 0.969 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.031, allocations: 79.95 kB / 0.9691 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005329/1.036, allocations: 5.619 MB / 0.9746 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.036, allocations: 0 / 0.9746 GB, free: 3.176 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/1.048, allocations: 7.775 MB / 0.9821 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.05, allocations: 1.154 MB / 0.9833 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007882/1.051, allocations: 63.98 kB / 0.9833 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00271/1.054, allocations: 207.4 kB / 0.9835 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004171/1.054, allocations: 206.2 kB / 0.9837 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/1.055, allocations: 139.9 kB / 0.9839 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005454/1.06, allocations: 3.963 MB / 0.9877 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/1.06, allocations: 0 / 0.9877 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005293/1.065, allocations: 2.007 MB / 0.9897 GB, free: 3.574 MB / 0.7794 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.001114/1.066, allocations: 0.4972 MB / 0.9902 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007844/1.074, allocations: 5.448 MB / 0.9955 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/1.074, allocations: 4 kB / 0.9955 GB, free: 13.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003358/1.078, allocations: 2.546 MB / 0.998 GB, free: 11.03 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01515/1.093, allocations: 3.381 MB / 1.001 GB, free: 7.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/1.117, allocations: 13.88 MB / 1.015 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004274/1.122, allocations: 4.633 MB / 1.019 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006697/1.129, allocations: 2.081 MB / 1.021 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.13, allocations: 463.2 kB / 1.022 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/1.13, allocations: 4 kB / 1.022 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of Templates: time 0.5535/1.684, allocations: 116.9 MB / 1.136 GB, free: 254.4 MB / 0.8419 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)