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.001604/0.001604, allocations: 106.7 kB / 16.41 MB, free: 6.469 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.001533/0.001533, allocations: 187 kB / 17.34 MB, free: 5.711 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.08 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.8865/0.8865, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.55 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 82.03 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.059/0.2234, allocations: 56.1 MB / 0.7311 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02547/0.2489, allocations: 17.96 MB / 0.7486 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.375/0.6239, allocations: 79.58 kB / 0.7487 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.6279, allocations: 0.9227 MB / 0.7496 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.6383, allocations: 2.615 MB / 0.7522 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/0.6429, allocations: 1.548 MB / 0.7537 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02571/0.6686, allocations: 21.24 MB / 0.7744 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.6825, allocations: 8.876 MB / 0.7831 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01826/0.7007, allocations: 7.232 MB / 0.7901 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/0.7144, allocations: 6.37 MB / 0.7964 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004012/0.7184, allocations: 0.9365 MB / 0.7973 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009092/0.7275, allocations: 1.696 MB / 0.7989 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005686/0.7332, allocations: 2.439 MB / 0.8013 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01309/0.7463, allocations: 4.712 MB / 0.8059 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0217/0.768, allocations: 13.9 MB / 0.8195 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.768, allocations: 0 / 0.8195 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.114e-06/0.768, allocations: 0 / 0.8195 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000471/0.7685, allocations: 0 / 0.8195 GB, free: 7.262 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.0245/0.793, allocations: 8.725 MB / 0.828 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.793, allocations: 8.031 kB / 0.828 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.7976, allocations: 0.8981 MB / 0.8289 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.8128, allocations: 6.763 MB / 0.8355 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.8133, allocations: 462.9 kB / 0.8359 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.8157, allocations: 0.6001 MB / 0.8365 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/0.8381, allocations: 9.032 MB / 0.8454 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001949/0.8383, allocations: 19.88 kB / 0.8454 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/0.8397, allocations: 263 kB / 0.8456 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/0.84, allocations: 183.9 kB / 0.8458 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.858, allocations: 7.457 MB / 0.8531 GB, free: 4.602 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.05909/0.9171, allocations: 36.09 MB / 0.8883 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007236/0.9243, allocations: 4.002 MB / 0.8922 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004874/0.9292, allocations: 3.039 MB / 0.8952 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001424/0.9306, allocations: 0.9582 MB / 0.8961 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004083/0.9347, allocations: 2.39 MB / 0.8985 GB, free: 4.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002815/0.9375, allocations: 403.2 kB / 0.8989 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 7.975e-06/0.9375, allocations: 0 / 0.8989 GB, free: 3.766 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01401/0.9515, allocations: 7.156 MB / 0.9058 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.9516, allocations: 81.91 kB / 0.9059 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009886/0.9615, allocations: 5.674 MB / 0.9115 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008733/0.9623, allocations: 85.7 kB / 0.9115 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003539/0.9659, allocations: 3.268 MB / 0.9147 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001897/0.9678, allocations: 1.169 MB / 0.9159 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.9692, allocations: 0.8585 MB / 0.9167 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.9693, allocations: 309.1 kB / 0.917 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003539/0.9729, allocations: 2.167 MB / 0.9191 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004837/0.9777, allocations: 3.693 MB / 0.9227 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009799/0.9875, allocations: 6.324 MB / 0.9289 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.314e-05/0.9876, allocations: 12 kB / 0.9289 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01447/1.002, allocations: 6.79 MB / 0.9356 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/1.002, allocations: 53.7 kB / 0.9356 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.572e-05/1.002, allocations: 48 kB / 0.9357 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/1.003, allocations: 433.9 kB / 0.9361 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/1.007, allocations: 1.01 MB / 0.9371 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006361/1.013, allocations: 5.708 MB / 0.9426 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005075/1.018, allocations: 283.5 kB / 0.9429 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007885/1.019, allocations: 216 kB / 0.9431 GB, free: 4.645 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.005297/1.024, allocations: 2.476 MB / 0.9455 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/1.026, allocations: 0.5473 MB / 0.9461 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009525/1.036, allocations: 5.262 MB / 0.9512 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.337e-05/1.036, allocations: 36 kB / 0.9512 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.036, allocations: 4 kB / 0.9512 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007076/1.043, allocations: 4.512 MB / 0.9556 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0249/1.068, allocations: 11.99 MB / 0.9674 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.068, allocations: 0 / 0.9674 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/1.071, allocations: 0.6438 MB / 0.968 GB, free: 10.94 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009354/1.072, allocations: 368.3 kB / 0.9683 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003353/1.072, allocations: 83.95 kB / 0.9684 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006268/1.078, allocations: 5.623 MB / 0.9739 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.078, allocations: 0 / 0.9739 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.092, allocations: 7.787 MB / 0.9815 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003589/1.095, allocations: 1.18 MB / 0.9827 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/1.097, allocations: 71.92 kB / 0.9827 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003475/1.1, allocations: 193.2 kB / 0.9829 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/1.101, allocations: 202.2 kB / 0.9831 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/1.101, allocations: 143.9 kB / 0.9832 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007097/1.108, allocations: 3.959 MB / 0.9871 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.1e-07/1.108, allocations: 0 / 0.9871 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007828/1.116, allocations: 2.02 MB / 0.9891 GB, free: 4.969 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.001768/1.118, allocations: 0.5229 MB / 0.9896 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009755/1.128, allocations: 5.23 MB / 0.9947 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.128, allocations: 4 kB / 0.9947 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00436/1.132, allocations: 2.375 MB / 0.997 GB, free: 12.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/1.149, allocations: 3.379 MB / 1 GB, free: 9.516 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/1.177, allocations: 14.14 MB / 1.014 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006006/1.183, allocations: 4.549 MB / 1.019 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/1.186, allocations: 495.2 kB / 1.019 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of SimCode: time 1.523e-06/1.186, allocations: 0 / 1.019 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of Templates: time 0.5999/1.786, allocations: 189 MB / 1.204 GB, free: 185.7 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)