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.0007463/0.0007464, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007443/0.0007444, allocations: 173.1 kB / 16.58 MB, free: 6.797 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.195/1.195, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6142/0.6142, allocations: 113.7 MB / 405.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002795, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1279, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2762/0.4042, allocations: 51.51 MB / 0.6072 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.4218, allocations: 16.81 MB / 0.6236 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.4242, allocations: 63.25 kB / 0.6237 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.4259, allocations: 0.632 MB / 0.6243 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.4309, allocations: 1.989 MB / 0.6262 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.4338, allocations: 1.09 MB / 0.6273 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02019/0.454, allocations: 23.62 MB / 0.6504 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009772/0.4638, allocations: 7.153 MB / 0.6573 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009109/0.4729, allocations: 5.296 MB / 0.6625 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008973/0.4819, allocations: 5.477 MB / 0.6679 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.4838, allocations: 351.9 kB / 0.6682 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.4885, allocations: 0.784 MB / 0.669 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.4901, allocations: 1.525 MB / 0.6705 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.4924, allocations: 1.611 MB / 0.672 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008695/0.5011, allocations: 10.32 MB / 0.6821 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5012, allocations: 3.844 kB / 0.6821 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5012, allocations: 0 / 0.6821 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000238/0.5014, allocations: 0 / 0.6821 GB, free: 10.26 MB / 0.4981 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.01132/0.5127, allocations: 6.956 MB / 0.6889 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.5128, allocations: 8.031 kB / 0.6889 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.5142, allocations: 0.8459 MB / 0.6897 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.5162, allocations: 0.8538 MB / 0.6906 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009256/0.5254, allocations: 6.46 MB / 0.6969 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.5257, allocations: 464.2 kB / 0.6973 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007153/0.5265, allocations: 0.5936 MB / 0.6979 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/0.5416, allocations: 8.985 MB / 0.7067 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001927/0.5419, allocations: 19.78 kB / 0.7067 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.5429, allocations: 260 kB / 0.707 GB, free: 348 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/0.5431, allocations: 183.9 kB / 0.7071 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01254/0.5556, allocations: 7.414 MB / 0.7144 GB, free: 8.738 MB / 0.5294 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.04153/0.5972, allocations: 35.97 MB / 0.7495 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005944/0.6032, allocations: 4.28 MB / 0.7537 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004279/0.6075, allocations: 3.382 MB / 0.757 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.6086, allocations: 0.9818 MB / 0.7579 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003497/0.6121, allocations: 2.387 MB / 0.7603 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00233/0.6145, allocations: 439.8 kB / 0.7607 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=317): time 8.315e-06/0.6145, allocations: 4 kB / 0.7607 GB, free: 7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=317): time 0.01217/0.6267, allocations: 7.089 MB / 0.7676 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.6268, allocations: 85.91 kB / 0.7677 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007867/0.6347, allocations: 5.416 MB / 0.773 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003422/0.635, allocations: 89.7 kB / 0.7731 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002672/0.6377, allocations: 3.2 MB / 0.7762 GB, free: 7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.6388, allocations: 1.121 MB / 0.7773 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.639, allocations: 88 kB / 0.7774 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002563/0.6393, allocations: 491.6 kB / 0.7778 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/0.6424, allocations: 2.144 MB / 0.7799 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/0.6462, allocations: 3.677 MB / 0.7835 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/0.6501, allocations: 2.9 MB / 0.7864 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/0.6501, allocations: 19.94 kB / 0.7864 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009827/0.66, allocations: 6.725 MB / 0.7929 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.66, allocations: 57.7 kB / 0.793 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.33e-05/0.6601, allocations: 51.94 kB / 0.793 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.661, allocations: 442.6 kB / 0.7935 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003198/0.6643, allocations: 1.01 MB / 0.7945 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004971/0.6692, allocations: 5.248 MB / 0.7996 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/0.6735, allocations: 466.8 kB / 0.8 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004968/0.674, allocations: 216 kB / 0.8002 GB, free: 13.3 MB / 0.6231 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003754/0.6778, allocations: 2.491 MB / 0.8027 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/0.679, allocations: 0.5249 MB / 0.8032 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007971/0.687, allocations: 5.237 MB / 0.8083 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.687, allocations: 32 kB / 0.8083 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.687, allocations: 8 kB / 0.8083 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005935/0.693, allocations: 4.512 MB / 0.8127 GB, free: 328 kB / 0.6231 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.01946/0.7125, allocations: 11.97 MB / 0.8244 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.7125, allocations: 3.938 kB / 0.8244 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/0.715, allocations: 0.6555 MB / 0.8251 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007767/0.7158, allocations: 372.7 kB / 0.8254 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.716, allocations: 79.95 kB / 0.8255 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2426/0.9586, allocations: 5.158 MB / 0.8305 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9587, allocations: 3.5 kB / 0.8305 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.9703, allocations: 7.594 MB / 0.838 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003079/0.9735, allocations: 1.213 MB / 0.8391 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/0.9746, allocations: 69.61 kB / 0.8392 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003587/0.9781, allocations: 472.3 kB / 0.8397 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/0.9786, allocations: 207 kB / 0.8399 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003186/0.9789, allocations: 137.1 kB / 0.84 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.006877/0.9858, allocations: 3.765 MB / 0.8437 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9858, allocations: 1.875 kB / 0.8437 GB, free: 208.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006336/0.9921, allocations: 1.982 MB / 0.8456 GB, free: 208.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/1.004, allocations: 8.526 MB / 0.8539 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006694/1.011, allocations: 5.362 MB / 0.8592 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.011, allocations: 1.688 kB / 0.8592 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002757/1.014, allocations: 2.504 MB / 0.8616 GB, free: 201.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01259/1.026, allocations: 3.225 MB / 0.8648 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/1.132, allocations: 51.23 MB / 0.9148 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004373/1.136, allocations: 4.624 MB / 0.9193 GB, free: 146.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.006085/1.143, allocations: 1.998 MB / 0.9213 GB, free: 144.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003401/1.146, allocations: 2.667 MB / 0.9239 GB, free: 142 MB / 0.6387 GB Notification: Performance of SimCode: time 8.31e-07/1.146, allocations: 0 / 0.9239 GB, free: 142 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4058/1.552, allocations: 169 MB / 1.089 GB, free: 201.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/1.552, allocations: 263 kB / 1.089 GB, free: 200.9 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.451/6.003, allocations: 1.156 kB / 1.089 GB, free: 200.9 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/linux/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) Environment - environmentSimulation: