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.001507/0.001507, allocations: 108.6 kB / 16.41 MB, free: 6.5 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.00123/0.00123, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8244/0.8244, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 60.78 kB / 0.5735 GB, free: 27.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1392, allocations: 78.87 MB / 0.6505 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05982/0.1991, allocations: 56.08 MB / 0.7053 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.225, allocations: 17.94 MB / 0.7228 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.2275, allocations: 75.56 kB / 0.7229 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002773/0.2303, allocations: 0.8963 MB / 0.7238 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007116/0.2375, allocations: 2.495 MB / 0.7262 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004012/0.2415, allocations: 1.524 MB / 0.7277 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3309/0.5724, allocations: 21.29 MB / 0.7485 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/0.5854, allocations: 10.67 MB / 0.7589 GB, free: 20.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01454/0.6, allocations: 7.349 MB / 0.7661 GB, free: 20.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.611, allocations: 6.289 MB / 0.7722 GB, free: 19.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002756/0.6138, allocations: 0.938 MB / 0.7731 GB, free: 19.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.6199, allocations: 1.7 MB / 0.7748 GB, free: 19.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002461/0.6224, allocations: 2.343 MB / 0.7771 GB, free: 18.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007023/0.6294, allocations: 4.73 MB / 0.7817 GB, free: 17.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.6409, allocations: 13.26 MB / 0.7947 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6409, allocations: 0 / 0.7947 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.597e-06/0.6409, allocations: 0 / 0.7947 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003155/0.6413, allocations: 3.938 kB / 0.7947 GB, free: 16.3 MB / 0.5919 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.01866/0.6599, allocations: 8.729 MB / 0.8032 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.66, allocations: 10.81 kB / 0.8032 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.6611, allocations: 0.8422 MB / 0.804 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.6637, allocations: 0.8938 MB / 0.8049 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/0.6745, allocations: 6.754 MB / 0.8115 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.6748, allocations: 460.1 kB / 0.8119 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008608/0.6757, allocations: 0.6027 MB / 0.8125 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.6907, allocations: 9.023 MB / 0.8213 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.6908, allocations: 18.03 kB / 0.8214 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006851/0.6915, allocations: 258.8 kB / 0.8216 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/0.6917, allocations: 183.9 kB / 0.8218 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.7047, allocations: 7.447 MB / 0.829 GB, free: 7.895 MB / 0.6075 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.04789/0.7526, allocations: 36.1 MB / 0.8643 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00664/0.7592, allocations: 4.295 MB / 0.8685 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00492/0.7642, allocations: 3.289 MB / 0.8717 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.7656, allocations: 0.9593 MB / 0.8726 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004098/0.7697, allocations: 2.397 MB / 0.875 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002399/0.7721, allocations: 377 kB / 0.8753 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=317): time 6.442e-06/0.7722, allocations: 3.938 kB / 0.8753 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317): time 0.0137/0.7859, allocations: 7.157 MB / 0.8823 GB, free: 15.67 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.7859, allocations: 81.91 kB / 0.8824 GB, free: 15.58 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009115/0.7951, allocations: 5.67 MB / 0.888 GB, free: 9.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005077/0.7956, allocations: 89.7 kB / 0.888 GB, free: 9.836 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/0.7991, allocations: 3.274 MB / 0.8912 GB, free: 6.555 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001479/0.8006, allocations: 1.166 MB / 0.8924 GB, free: 5.402 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.802, allocations: 0.8624 MB / 0.8932 GB, free: 4.527 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.8021, allocations: 305.1 kB / 0.8935 GB, free: 4.227 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.8057, allocations: 2.167 MB / 0.8956 GB, free: 2.055 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00488/0.8106, allocations: 3.698 MB / 0.8992 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008979/0.8196, allocations: 6.322 MB / 0.9054 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.501e-05/0.8197, allocations: 12 kB / 0.9054 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01192/0.8316, allocations: 6.795 MB / 0.9121 GB, free: 292 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.8317, allocations: 65.72 kB / 0.9121 GB, free: 220 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/0.8318, allocations: 48 kB / 0.9122 GB, free: 172 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.8329, allocations: 436.2 kB / 0.9126 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/0.8365, allocations: 1.007 MB / 0.9136 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006649/0.8432, allocations: 5.693 MB / 0.9191 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005144/0.8483, allocations: 287.7 kB / 0.9194 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000618/0.849, allocations: 216 kB / 0.9196 GB, free: 8.395 MB / 0.7012 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.00484/0.8538, allocations: 2.484 MB / 0.922 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/0.8553, allocations: 0.5513 MB / 0.9226 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009614/0.865, allocations: 5.27 MB / 0.9277 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/0.865, allocations: 35.98 kB / 0.9277 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.865, allocations: 4 kB / 0.9278 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007389/0.8724, allocations: 4.54 MB / 0.9322 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02149/0.8939, allocations: 11.98 MB / 0.9439 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.894, allocations: 0 / 0.9439 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002928/0.8969, allocations: 0.6475 MB / 0.9445 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000888/0.8978, allocations: 370.7 kB / 0.9449 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/0.8981, allocations: 83.95 kB / 0.945 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006285/0.9043, allocations: 5.629 MB / 0.9505 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9044, allocations: 3.938 kB / 0.9505 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/0.9169, allocations: 7.782 MB / 0.9581 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002841/0.9198, allocations: 1.188 MB / 0.9592 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/0.9206, allocations: 63.98 kB / 0.9593 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/0.9234, allocations: 211.3 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004455/0.9239, allocations: 194.2 kB / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003053/0.9242, allocations: 139.9 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.006248/0.9304, allocations: 3.963 MB / 0.9637 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9304, allocations: 4 kB / 0.9637 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005373/0.9358, allocations: 2.027 MB / 0.9656 GB, free: 8.859 MB / 0.7481 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.0133/0.9491, allocations: 8.739 MB / 0.9742 GB, free: 88 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00884/0.958, allocations: 5.453 MB / 0.9795 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.958, allocations: 4.062 kB / 0.9795 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003911/0.9619, allocations: 2.544 MB / 0.982 GB, free: 8.242 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01611/0.9781, allocations: 3.391 MB / 0.9853 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08824/1.066, allocations: 52.56 MB / 1.037 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005135/1.071, allocations: 4.63 MB / 1.041 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006356/1.078, allocations: 2.08 MB / 1.043 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004669/1.083, allocations: 2.676 MB / 1.046 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/1.083, allocations: 3.938 kB / 1.046 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4869/1.569, allocations: 159.9 MB / 1.202 GB, free: 198.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.62/22.19, allocations: 19.59 kB / 1.202 GB, free: 198.4 MB / 0.8262 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.csv --start-time 0 --stop-time 14400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)