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.001615/0.001615, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6919/0.6919, allocations: 115.3 MB / 406 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 59.77 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 76.18 MB / 0.5558 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.267/0.3884, allocations: 55.62 MB / 0.6102 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02032/0.4088, allocations: 17.91 MB / 0.6277 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/0.411, allocations: 67.88 kB / 0.6277 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.4128, allocations: 0.734 MB / 0.6284 GB, free: 5.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.4181, allocations: 2.323 MB / 0.6307 GB, free: 3.863 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.4211, allocations: 1.381 MB / 0.6321 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02336/0.4445, allocations: 27.83 MB / 0.6592 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009619/0.4542, allocations: 8.708 MB / 0.6677 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008927/0.4631, allocations: 5.521 MB / 0.6731 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008546/0.4717, allocations: 6.178 MB / 0.6792 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/0.4728, allocations: 476 kB / 0.6796 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.4768, allocations: 1.158 MB / 0.6807 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.4785, allocations: 1.794 MB / 0.6825 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.005648/0.4842, allocations: 4.121 MB / 0.6865 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4954, allocations: 12.64 MB / 0.6989 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.4954, allocations: 4 kB / 0.6989 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4954, allocations: 3.938 kB / 0.6989 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002854/0.4957, allocations: 0 / 0.6989 GB, free: 4.469 MB / 0.5137 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.01514/0.5109, allocations: 8.495 MB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.5109, allocations: 12.03 kB / 0.7072 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001173/0.5121, allocations: 0.8422 MB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.5145, allocations: 0.8547 MB / 0.7088 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.5255, allocations: 6.621 MB / 0.7153 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.5258, allocations: 468.1 kB / 0.7157 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009291/0.5267, allocations: 0.6013 MB / 0.7163 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/0.541, allocations: 9.021 MB / 0.7251 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/0.5412, allocations: 23.81 kB / 0.7252 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00063/0.5418, allocations: 260 kB / 0.7254 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.542, allocations: 180 kB / 0.7256 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.5539, allocations: 7.445 MB / 0.7328 GB, free: 1.16 MB / 0.545 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.04472/0.5987, allocations: 35.91 MB / 0.7679 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007079/0.6058, allocations: 4.286 MB / 0.7721 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/0.6104, allocations: 3.316 MB / 0.7753 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.6117, allocations: 0.9505 MB / 0.7763 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003975/0.6157, allocations: 2.386 MB / 0.7786 GB, free: 4 kB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002518/0.6183, allocations: 451.8 kB / 0.779 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=317): time 8.746e-06/0.6183, allocations: 0 / 0.779 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=317): time 0.01299/0.6313, allocations: 7.101 MB / 0.786 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.6314, allocations: 85.91 kB / 0.786 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009553/0.6409, allocations: 5.467 MB / 0.7914 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003825/0.6413, allocations: 93.7 kB / 0.7915 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00302/0.6444, allocations: 3.188 MB / 0.7946 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001199/0.6456, allocations: 1.117 MB / 0.7957 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.647, allocations: 0.8541 MB / 0.7965 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.6471, allocations: 309 kB / 0.7968 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003364/0.6505, allocations: 2.156 MB / 0.7989 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004332/0.6548, allocations: 3.685 MB / 0.8025 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007996/0.6629, allocations: 6.3 MB / 0.8087 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.505e-05/0.6629, allocations: 19.94 kB / 0.8087 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01086/0.6738, allocations: 6.749 MB / 0.8153 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.146e-05/0.6738, allocations: 53.73 kB / 0.8153 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-05/0.6739, allocations: 52 kB / 0.8154 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/0.6749, allocations: 434 kB / 0.8158 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/0.6785, allocations: 0.9983 MB / 0.8168 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/0.6839, allocations: 5.26 MB / 0.8219 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/0.6884, allocations: 470.8 kB / 0.8224 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/0.6888, allocations: 216 kB / 0.8226 GB, free: 1.074 MB / 0.6387 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.2329/0.9217, allocations: 2.476 MB / 0.825 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/0.9231, allocations: 0.5255 MB / 0.8255 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009427/0.9326, allocations: 5.25 MB / 0.8306 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.8e-05/0.9326, allocations: 32.97 kB / 0.8306 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.9327, allocations: 7.328 kB / 0.8307 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007063/0.9397, allocations: 4.525 MB / 0.8351 GB, free: 210 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 postOpt removeSimpleEquations (simulation): time 0.02075/0.9605, allocations: 11.96 MB / 0.8468 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.9606, allocations: 1.062 kB / 0.8468 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/0.9633, allocations: 0.6421 MB / 0.8474 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.9641, allocations: 373.4 kB / 0.8477 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002173/0.9644, allocations: 84.78 kB / 0.8478 GB, free: 205.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004304/0.9687, allocations: 5.177 MB / 0.8529 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9687, allocations: 1.594 kB / 0.8529 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.979, allocations: 7.623 MB / 0.8603 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/0.9815, allocations: 1.125 MB / 0.8614 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.9826, allocations: 69.72 kB / 0.8615 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/0.9862, allocations: 467.8 kB / 0.8619 GB, free: 198 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/0.9866, allocations: 206.9 kB / 0.8621 GB, free: 197.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/0.9869, allocations: 134.9 kB / 0.8623 GB, free: 197.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004672/0.9915, allocations: 3.807 MB / 0.866 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9916, allocations: 0 / 0.866 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005134/0.9967, allocations: 1.989 MB / 0.8679 GB, free: 195.5 MB / 0.6387 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.01011/1.007, allocations: 8.552 MB / 0.8763 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006725/1.014, allocations: 5.372 MB / 0.8815 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.014, allocations: 6.844 kB / 0.8815 GB, free: 182.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/1.017, allocations: 2.502 MB / 0.884 GB, free: 180.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01471/1.031, allocations: 3.227 MB / 0.8871 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1317/1.163, allocations: 65.46 MB / 0.951 GB, free: 106.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004154/1.167, allocations: 4.62 MB / 0.9556 GB, free: 101.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006188/1.173, allocations: 1.994 MB / 0.9575 GB, free: 99.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003635/1.177, allocations: 2.67 MB / 0.9601 GB, free: 96.76 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/1.177, allocations: 0 / 0.9601 GB, free: 96.76 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9171/2.094, allocations: 159.2 MB / 1.116 GB, free: 205.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/2.094, allocations: 278.9 kB / 1.116 GB, free: 204.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.256/7.35, allocations: 0 / 1.116 GB, free: 204.7 MB / 0.6544 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)