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.001203/0.001203, allocations: 102.2 kB / 15.98 MB, free: 6.348 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.001195/0.001195, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.228/1.228, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6689/0.6689, allocations: 115.3 MB / 406.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 64.14 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2688, allocations: 76.17 MB / 0.556 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03962/0.3084, allocations: 55.51 MB / 0.6102 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02045/0.3289, allocations: 17.8 MB / 0.6276 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/0.3311, allocations: 71.56 kB / 0.6277 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.3333, allocations: 0.7537 MB / 0.6284 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005506/0.3389, allocations: 2.329 MB / 0.6307 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.3419, allocations: 1.394 MB / 0.632 GB, free: 6.613 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01783/0.3597, allocations: 21.36 MB / 0.6529 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/0.3707, allocations: 10.58 MB / 0.6632 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/0.3826, allocations: 7.218 MB / 0.6703 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00792/0.3905, allocations: 6.549 MB / 0.6767 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001991/0.3925, allocations: 0.9335 MB / 0.6776 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00457/0.3971, allocations: 1.694 MB / 0.6793 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.3993, allocations: 2.322 MB / 0.6815 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005266/0.4045, allocations: 4.696 MB / 0.6861 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009961/0.4145, allocations: 13.01 MB / 0.6988 GB, free: 2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4145, allocations: 0 / 0.6988 GB, free: 2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4145, allocations: 0 / 0.6988 GB, free: 2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001578/0.4147, allocations: 8 kB / 0.6988 GB, free: 1.992 MB / 0.5294 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.01359/0.4283, allocations: 8.487 MB / 0.7071 GB, free: 9.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4284, allocations: 12.03 kB / 0.7071 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00106/0.4294, allocations: 0.8461 MB / 0.7079 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.4316, allocations: 0.8547 MB / 0.7088 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009432/0.4411, allocations: 6.629 MB / 0.7153 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.4414, allocations: 460.2 kB / 0.7157 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007814/0.4421, allocations: 0.5975 MB / 0.7163 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.4547, allocations: 9.028 MB / 0.7251 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.4549, allocations: 15.88 kB / 0.7251 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005646/0.4554, allocations: 267.9 kB / 0.7254 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.4556, allocations: 176 kB / 0.7255 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/0.4659, allocations: 7.445 MB / 0.7328 GB, free: 14.69 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.2378/0.7037, allocations: 35.91 MB / 0.7679 GB, free: 139 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005282/0.709, allocations: 4.277 MB / 0.772 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003976/0.713, allocations: 3.311 MB / 0.7753 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.7141, allocations: 0.9578 MB / 0.7762 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003549/0.7176, allocations: 2.389 MB / 0.7785 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002552/0.7202, allocations: 403.3 kB / 0.7789 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 6.212e-06/0.7202, allocations: 0 / 0.7789 GB, free: 134.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01118/0.7314, allocations: 7.13 MB / 0.7859 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.7315, allocations: 98.98 kB / 0.786 GB, free: 131.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006067/0.7375, allocations: 5.465 MB / 0.7913 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/0.7379, allocations: 84.86 kB / 0.7914 GB, free: 129.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.7397, allocations: 3.194 MB / 0.7945 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007913/0.7405, allocations: 1.113 MB / 0.7956 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009331/0.7414, allocations: 0.8583 MB / 0.7965 GB, free: 125.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.134e-05/0.7415, allocations: 305.7 kB / 0.7967 GB, free: 125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.7439, allocations: 2.161 MB / 0.7989 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/0.7467, allocations: 3.699 MB / 0.8025 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005394/0.7521, allocations: 6.323 MB / 0.8086 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.7521, allocations: 14.81 kB / 0.8087 GB, free: 116.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007867/0.76, allocations: 6.779 MB / 0.8153 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.7601, allocations: 53.7 kB / 0.8153 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/0.7601, allocations: 48 kB / 0.8154 GB, free: 109.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007475/0.7609, allocations: 438.9 kB / 0.8158 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00298/0.7638, allocations: 1.01 MB / 0.8168 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.7677, allocations: 5.702 MB / 0.8223 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/0.7719, allocations: 470.8 kB / 0.8228 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.7722, allocations: 216 kB / 0.823 GB, free: 101.6 MB / 0.5762 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.00287/0.7751, allocations: 2.475 MB / 0.8254 GB, free: 99.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/0.776, allocations: 0.5326 MB / 0.8259 GB, free: 98.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006356/0.7824, allocations: 5.261 MB / 0.8311 GB, free: 93.26 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.7824, allocations: 32 kB / 0.8311 GB, free: 93.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.7824, allocations: 4 kB / 0.8311 GB, free: 93.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004707/0.7871, allocations: 4.538 MB / 0.8355 GB, free: 88.58 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.8015, allocations: 11.95 MB / 0.8472 GB, free: 76.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.8015, allocations: 4 kB / 0.8472 GB, free: 76.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/0.804, allocations: 0.6477 MB / 0.8478 GB, free: 75.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006276/0.8046, allocations: 368.1 kB / 0.8482 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/0.8048, allocations: 83.95 kB / 0.8483 GB, free: 75.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.8085, allocations: 5.633 MB / 0.8538 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8085, allocations: 3.938 kB / 0.8538 GB, free: 69.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008176/0.8167, allocations: 7.764 MB / 0.8614 GB, free: 61.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/0.8188, allocations: 1.131 MB / 0.8625 GB, free: 60.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006501/0.8194, allocations: 67.98 kB / 0.8625 GB, free: 60.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/0.8225, allocations: 466.2 kB / 0.863 GB, free: 60 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.8229, allocations: 194.2 kB / 0.8632 GB, free: 59.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/0.8231, allocations: 135.9 kB / 0.8633 GB, free: 59.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003723/0.8268, allocations: 3.811 MB / 0.867 GB, free: 55.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8268, allocations: 0 / 0.867 GB, free: 55.89 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003969/0.8308, allocations: 1.99 MB / 0.869 GB, free: 53.91 MB / 0.5762 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.008734/0.8396, allocations: 8.708 MB / 0.8775 GB, free: 45.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01643/0.856, allocations: 11.63 MB / 0.8888 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.856, allocations: 0 / 0.8888 GB, free: 33.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.8585, allocations: 2.542 MB / 0.8913 GB, free: 30.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/0.8694, allocations: 3.403 MB / 0.8946 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1258/0.9952, allocations: 65.65 MB / 0.9587 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004517/0.9997, allocations: 4.631 MB / 0.9633 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006015/1.006, allocations: 2.031 MB / 0.9652 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003753/1.01, allocations: 2.67 MB / 0.9678 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/1.01, allocations: 0 / 0.9678 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6926/1.702, allocations: 163.1 MB / 1.127 GB, free: 120.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.702, allocations: 279 kB / 1.127 GB, free: 120 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.403/7.106, allocations: 4 kB / 1.127 GB, free: 120 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)