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.001189/0.001189, allocations: 106 kB / 16.41 MB, free: 6.457 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.001102/0.001101, allocations: 187 kB / 17.34 MB, free: 5.719 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.14 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.8386/0.8386, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.47 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.184, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05192/0.2359, allocations: 56 MB / 0.731 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02375/0.2597, allocations: 17.95 MB / 0.7485 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.2633, allocations: 79.56 kB / 0.7486 GB, free: 76 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4236/0.6869, allocations: 0.8846 MB / 0.7494 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008808/0.6958, allocations: 2.502 MB / 0.7519 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.7013, allocations: 1.539 MB / 0.7534 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02718/0.7285, allocations: 21.26 MB / 0.7742 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01939/0.7479, allocations: 10.68 MB / 0.7846 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0223/0.7703, allocations: 7.234 MB / 0.7916 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.7836, allocations: 6.362 MB / 0.7979 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004108/0.7878, allocations: 0.9384 MB / 0.7988 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009953/0.7977, allocations: 1.708 MB / 0.8004 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005005/0.8028, allocations: 2.34 MB / 0.8027 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01256/0.8154, allocations: 4.699 MB / 0.8073 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02212/0.8375, allocations: 13.86 MB / 0.8209 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.8376, allocations: 0 / 0.8209 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.647e-06/0.8376, allocations: 4 kB / 0.8209 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0006547/0.8383, allocations: 0 / 0.8209 GB, free: 5.895 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.02378/0.8621, allocations: 8.531 MB / 0.8292 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.8621, allocations: 8.031 kB / 0.8292 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.8667, allocations: 0.8625 MB / 0.83 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/0.881, allocations: 6.715 MB / 0.8366 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004336/0.8815, allocations: 459.8 kB / 0.837 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/0.8837, allocations: 0.6048 MB / 0.8376 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02055/0.9042, allocations: 9.024 MB / 0.8464 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.9045, allocations: 27.7 kB / 0.8465 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001167/0.9056, allocations: 262.8 kB / 0.8467 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001829/0.9058, allocations: 180 kB / 0.8469 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/0.9221, allocations: 7.449 MB / 0.8542 GB, free: 3.508 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.05421/0.9763, allocations: 36.01 MB / 0.8893 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006818/0.9832, allocations: 4.277 MB / 0.8935 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004865/0.9881, allocations: 3.304 MB / 0.8967 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.9895, allocations: 0.9547 MB / 0.8977 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004103/0.9936, allocations: 2.386 MB / 0.9 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002607/0.9962, allocations: 363.7 kB / 0.9003 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=317): time 1.595e-05/0.9962, allocations: 0 / 0.9003 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=317): time 0.01354/1.01, allocations: 7.142 MB / 0.9073 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/1.01, allocations: 89.84 kB / 0.9074 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009366/1.019, allocations: 5.658 MB / 0.9129 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0008163/1.02, allocations: 89.7 kB / 0.913 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003211/1.023, allocations: 3.198 MB / 0.9161 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/1.025, allocations: 1.117 MB / 0.9172 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/1.026, allocations: 0.8541 MB / 0.9181 GB, free: 8 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.027, allocations: 305.1 kB / 0.9184 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/1.03, allocations: 2.167 MB / 0.9205 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/1.035, allocations: 3.696 MB / 0.9241 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00922/1.044, allocations: 6.328 MB / 0.9303 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-05/1.045, allocations: 12 kB / 0.9303 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0124/1.057, allocations: 6.774 MB / 0.9369 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.047e-05/1.057, allocations: 57.44 kB / 0.9369 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-05/1.057, allocations: 56.16 kB / 0.937 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009934/1.058, allocations: 429.3 kB / 0.9374 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/1.062, allocations: 1.006 MB / 0.9384 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/1.068, allocations: 5.694 MB / 0.9439 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005231/1.074, allocations: 283.5 kB / 0.9442 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008952/1.074, allocations: 220 kB / 0.9444 GB, free: 3.277 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.005655/1.08, allocations: 2.479 MB / 0.9469 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002318/1.082, allocations: 0.5287 MB / 0.9474 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/1.094, allocations: 5.266 MB / 0.9525 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/1.094, allocations: 32 kB / 0.9525 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/1.094, allocations: 11.98 kB / 0.9526 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007539/1.102, allocations: 4.528 MB / 0.957 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0267/1.128, allocations: 11.99 MB / 0.9687 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.128, allocations: 4 kB / 0.9687 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/1.131, allocations: 0.6438 MB / 0.9693 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008701/1.132, allocations: 376.1 kB / 0.9697 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003193/1.132, allocations: 83.94 kB / 0.9698 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/1.138, allocations: 5.607 MB / 0.9752 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/1.138, allocations: 4.062 kB / 0.9752 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.15, allocations: 7.771 MB / 0.9828 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003521/1.154, allocations: 1.158 MB / 0.984 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.155, allocations: 60 kB / 0.984 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/1.159, allocations: 214.1 kB / 0.9842 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/1.159, allocations: 198.2 kB / 0.9844 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003376/1.16, allocations: 139.9 kB / 0.9845 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.006584/1.166, allocations: 3.959 MB / 0.9884 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.7e-07/1.166, allocations: 0 / 0.9884 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.007393/1.174, allocations: 2.011 MB / 0.9904 GB, free: 3.633 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.001572/1.175, allocations: 0.5055 MB / 0.9909 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.009391/1.185, allocations: 5.44 MB / 0.9962 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.185, allocations: 4 kB / 0.9962 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/1.189, allocations: 2.541 MB / 0.9987 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0162/1.205, allocations: 3.381 MB / 1.002 GB, free: 7.801 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.23, allocations: 13.93 MB / 1.016 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004345/1.234, allocations: 4.559 MB / 1.02 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/1.236, allocations: 499.1 kB / 1.02 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of SimCode: time 1.332e-06/1.236, allocations: 0 / 1.02 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.6221/1.858, allocations: 189.3 MB / 1.205 GB, free: 184.6 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)