Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 102.1 kB / 16.27 MB, free: 5.984 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.001228/0.001228, allocations: 192.7 kB / 17.2 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7559/0.7559, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 64.06 kB / 0.4912 GB, free: 7.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3055, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0432/0.3487, allocations: 55.97 MB / 0.6219 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02123/0.37, allocations: 17.94 MB / 0.6395 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.3728, allocations: 75.56 kB / 0.6395 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.3756, allocations: 0.9042 MB / 0.6404 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.3822, allocations: 2.513 MB / 0.6429 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.3856, allocations: 1.516 MB / 0.6443 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01761/0.4032, allocations: 21.26 MB / 0.6651 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.4145, allocations: 10.67 MB / 0.6755 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01122/0.4258, allocations: 7.141 MB / 0.6825 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009228/0.435, allocations: 6.362 MB / 0.6887 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002626/0.4377, allocations: 0.9375 MB / 0.6896 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006672/0.4444, allocations: 1.694 MB / 0.6913 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003756/0.4482, allocations: 2.333 MB / 0.6936 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008133/0.4563, allocations: 4.715 MB / 0.6982 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.4699, allocations: 13.04 MB / 0.7109 GB, free: 7.355 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.47, allocations: 4 kB / 0.7109 GB, free: 7.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.47, allocations: 0 / 0.7109 GB, free: 7.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003473/0.4703, allocations: 0 / 0.7109 GB, free: 7.352 MB / 0.545 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.01843/0.4888, allocations: 8.515 MB / 0.7192 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4888, allocations: 8.031 kB / 0.7192 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002039/0.4909, allocations: 0.8422 MB / 0.7201 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.4936, allocations: 0.8548 MB / 0.7209 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/0.5047, allocations: 6.432 MB / 0.7272 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/0.5051, allocations: 460.2 kB / 0.7276 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/0.5066, allocations: 0.6015 MB / 0.7282 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.5222, allocations: 9.021 MB / 0.737 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.5224, allocations: 27.78 kB / 0.737 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000639/0.523, allocations: 260 kB / 0.7373 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.5232, allocations: 179.9 kB / 0.7375 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.5347, allocations: 7.449 MB / 0.7447 GB, free: 4.219 MB / 0.5762 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.4657/1, allocations: 36.25 MB / 0.7801 GB, free: 130.3 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005736/1.006, allocations: 4.277 MB / 0.7843 GB, free: 128.1 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004195/1.01, allocations: 3.326 MB / 0.7876 GB, free: 126.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/1.012, allocations: 0.9597 MB / 0.7885 GB, free: 125.5 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003094/1.015, allocations: 2.379 MB / 0.7908 GB, free: 124.1 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002041/1.017, allocations: 369.2 kB / 0.7912 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=317): time 8.005e-06/1.017, allocations: 4.375 kB / 0.7912 GB, free: 123.9 MB / 0.5763 GB Notification: Performance of matching and sorting (n=317): time 0.01081/1.028, allocations: 7.138 MB / 0.7981 GB, free: 120.2 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.028, allocations: 85.94 kB / 0.7982 GB, free: 120.1 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006684/1.034, allocations: 5.669 MB / 0.8038 GB, free: 116.3 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0007329/1.035, allocations: 85.7 kB / 0.8038 GB, free: 116.2 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/1.037, allocations: 3.191 MB / 0.807 GB, free: 113 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/1.038, allocations: 1.115 MB / 0.808 GB, free: 111.9 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.039, allocations: 0.8541 MB / 0.8089 GB, free: 111 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 3.845e-05/1.04, allocations: 305.1 kB / 0.8092 GB, free: 110.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002573/1.042, allocations: 2.163 MB / 0.8113 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002977/1.045, allocations: 3.694 MB / 0.8149 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/1.051, allocations: 6.319 MB / 0.8211 GB, free: 97.12 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/1.051, allocations: 16 kB / 0.8211 GB, free: 97.11 MB / 0.5763 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008565/1.059, allocations: 6.783 MB / 0.8277 GB, free: 90.27 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/1.059, allocations: 55.89 kB / 0.8278 GB, free: 90.21 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-05/1.06, allocations: 48 kB / 0.8278 GB, free: 90.16 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/1.06, allocations: 438 kB / 0.8282 GB, free: 89.73 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/1.064, allocations: 1.006 MB / 0.8292 GB, free: 88.72 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004181/1.068, allocations: 5.708 MB / 0.8348 GB, free: 82.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004479/1.072, allocations: 287.4 kB / 0.8351 GB, free: 82.47 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/1.073, allocations: 216 kB / 0.8353 GB, free: 82.26 MB / 0.5763 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.003445/1.076, allocations: 2.484 MB / 0.8377 GB, free: 79.77 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.078, allocations: 0.5249 MB / 0.8382 GB, free: 79.23 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007032/1.085, allocations: 5.27 MB / 0.8433 GB, free: 73.92 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.085, allocations: 36 kB / 0.8434 GB, free: 73.88 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.085, allocations: 7.938 kB / 0.8434 GB, free: 73.88 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005094/1.09, allocations: 4.525 MB / 0.8478 GB, free: 69.25 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/1.107, allocations: 12.03 MB / 0.8596 GB, free: 57.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.107, allocations: 4 kB / 0.8596 GB, free: 57.11 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/1.109, allocations: 0.6438 MB / 0.8602 GB, free: 56.46 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006869/1.11, allocations: 376.5 kB / 0.8605 GB, free: 56.09 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.11, allocations: 87.95 kB / 0.8606 GB, free: 56 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00394/1.114, allocations: 5.611 MB / 0.8661 GB, free: 50.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.114, allocations: 4.375 kB / 0.8661 GB, free: 50.12 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009227/1.123, allocations: 7.765 MB / 0.8737 GB, free: 42.26 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002766/1.126, allocations: 1.151 MB / 0.8748 GB, free: 41.09 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.127, allocations: 71.98 kB / 0.8749 GB, free: 41.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/1.13, allocations: 199.7 kB / 0.8751 GB, free: 40.82 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/1.13, allocations: 202.2 kB / 0.8753 GB, free: 40.62 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.131, allocations: 135.9 kB / 0.8754 GB, free: 40.49 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004369/1.135, allocations: 3.959 MB / 0.8793 GB, free: 36.55 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.7e-07/1.135, allocations: 4 kB / 0.8793 GB, free: 36.55 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00457/1.139, allocations: 2.008 MB / 0.8812 GB, free: 34.55 MB / 0.5763 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.009506/1.149, allocations: 8.718 MB / 0.8897 GB, free: 25.76 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01759/1.167, allocations: 11.63 MB / 0.9011 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.167, allocations: 5.875 kB / 0.9011 GB, free: 14.11 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/1.17, allocations: 2.541 MB / 0.9036 GB, free: 11.54 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/1.183, allocations: 3.397 MB / 0.9069 GB, free: 8.312 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08/1.263, allocations: 64.76 MB / 0.9702 GB, free: 1.645 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004665/1.267, allocations: 4.636 MB / 0.9747 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.006039/1.273, allocations: 2.073 MB / 0.9767 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003643/1.277, allocations: 2.67 MB / 0.9793 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/1.277, allocations: 0 / 0.9793 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9658/2.243, allocations: 165.6 MB / 1.141 GB, free: 121 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.76/22.01, allocations: 12.81 kB / 1.141 GB, free: 121 MB / 0.67 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)