Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_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.001119/0.001119, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001585/0.001585, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005251, allocations: 19.28 kB / 0.6738 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2486, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04877/0.2975, allocations: 51.55 MB / 0.8377 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02218/0.3197, allocations: 16.74 MB / 0.8541 GB, free: 7.348 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/0.3228, allocations: 63.56 kB / 0.8541 GB, free: 7.285 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.3253, allocations: 0.6248 MB / 0.8548 GB, free: 6.656 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008198/0.3335, allocations: 1.974 MB / 0.8567 GB, free: 4.672 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003991/0.3375, allocations: 1.087 MB / 0.8577 GB, free: 3.594 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02451/0.3621, allocations: 23.48 MB / 0.8807 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.3734, allocations: 7.15 MB / 0.8877 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01233/0.3858, allocations: 5.296 MB / 0.8928 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01395/0.3998, allocations: 5.473 MB / 0.8982 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002606/0.4024, allocations: 348 kB / 0.8985 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008222/0.4107, allocations: 0.784 MB / 0.8993 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.004023/0.4147, allocations: 1.522 MB / 0.9008 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004648/0.4194, allocations: 1.603 MB / 0.9023 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4784/0.8978, allocations: 10.28 MB / 0.9124 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.8979, allocations: 0 / 0.9124 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8979, allocations: 1.094 kB / 0.9124 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005478/0.8984, allocations: 1 kB / 0.9124 GB, free: 33.01 MB / 0.7169 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.02144/0.9199, allocations: 6.915 MB / 0.9191 GB, free: 30.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.92, allocations: 10.53 kB / 0.9191 GB, free: 30.36 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004596/0.9246, allocations: 0.8427 MB / 0.9199 GB, free: 30.29 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/0.9315, allocations: 0.8531 MB / 0.9208 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/0.9468, allocations: 6.333 MB / 0.927 GB, free: 29.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007614/0.9476, allocations: 461.9 kB / 0.9274 GB, free: 29.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003598/0.9512, allocations: 0.5957 MB / 0.928 GB, free: 29.06 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0299/0.9811, allocations: 8.986 MB / 0.9368 GB, free: 28.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/0.9814, allocations: 18.69 kB / 0.9368 GB, free: 28.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001574/0.983, allocations: 262.6 kB / 0.937 GB, free: 28.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/0.9832, allocations: 182.5 kB / 0.9372 GB, free: 28.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/1.002, allocations: 7.41 MB / 0.9444 GB, free: 28.04 MB / 0.7169 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.05376/1.056, allocations: 35.94 MB / 0.9795 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007104/1.063, allocations: 4.271 MB / 0.9837 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005305/1.068, allocations: 3.386 MB / 0.987 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/1.07, allocations: 0.9827 MB / 0.988 GB, free: 21.81 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004283/1.074, allocations: 2.386 MB / 0.9903 GB, free: 21.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003595/1.078, allocations: 450 kB / 0.9907 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.733e-05/1.078, allocations: 0 / 0.9907 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01225/1.09, allocations: 7.083 MB / 0.9977 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.09, allocations: 85.5 kB / 0.9977 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008598/1.099, allocations: 5.33 MB / 1.003 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/1.1, allocations: 90.33 kB / 1.003 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003565/1.104, allocations: 3.175 MB / 1.006 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002234/1.106, allocations: 1.11 MB / 1.007 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/1.106, allocations: 92.72 kB / 1.007 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0004898/1.107, allocations: 494.5 kB / 1.008 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004092/1.111, allocations: 2.136 MB / 1.01 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005441/1.116, allocations: 3.677 MB / 1.013 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.122, allocations: 2.9 MB / 1.016 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-05/1.122, allocations: 12 kB / 1.016 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01374/1.136, allocations: 6.731 MB / 1.023 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.136, allocations: 49.7 kB / 1.023 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.252e-05/1.136, allocations: 52 kB / 1.023 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/1.137, allocations: 436.7 kB / 1.023 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/1.142, allocations: 1.016 MB / 1.024 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/1.148, allocations: 5.245 MB / 1.029 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006575/1.155, allocations: 474.8 kB / 1.03 GB, free: 3.945 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/1.156, allocations: 216 kB / 1.03 GB, free: 3.734 MB / 0.7481 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.007342/1.163, allocations: 2.464 MB / 1.033 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002765/1.166, allocations: 0.5202 MB / 1.033 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.18, allocations: 5.235 MB / 1.038 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/1.18, allocations: 35.84 kB / 1.038 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/1.18, allocations: 4 kB / 1.038 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007673/1.188, allocations: 4.515 MB / 1.043 GB, free: 6.887 MB / 0.7637 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.02925/1.217, allocations: 11.94 MB / 1.054 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.217, allocations: 0 / 1.054 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/1.22, allocations: 0.651 MB / 1.055 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008721/1.221, allocations: 368.8 kB / 1.055 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002769/1.221, allocations: 90.69 kB / 1.055 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005554/1.226, allocations: 5.177 MB / 1.06 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.226, allocations: 0 / 1.06 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/1.242, allocations: 7.596 MB / 1.068 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00444/1.246, allocations: 1.205 MB / 1.069 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002117/1.248, allocations: 67.98 kB / 1.069 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005966/1.254, allocations: 471.2 kB / 1.07 GB, free: 10.96 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008597/1.255, allocations: 201.1 kB / 1.07 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009494/1.256, allocations: 143.8 kB / 1.07 GB, free: 10.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.008992/1.265, allocations: 3.703 MB / 1.073 GB, free: 6.945 MB / 0.795 GB Notification: Performance of sort global known variables: time 9.32e-07/1.265, allocations: 0 / 1.073 GB, free: 6.945 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01037/1.276, allocations: 1.979 MB / 1.075 GB, free: 4.961 MB / 0.795 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.01913/1.295, allocations: 8.525 MB / 1.084 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01273/1.308, allocations: 5.355 MB / 1.089 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-05/1.308, allocations: 5.812 kB / 1.089 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/1.314, allocations: 2.505 MB / 1.091 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02072/1.334, allocations: 3.228 MB / 1.095 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1616/1.496, allocations: 50.52 MB / 1.144 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005942/1.502, allocations: 4.599 MB / 1.148 GB, free: 7.297 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.008219/1.51, allocations: 1.995 MB / 1.15 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005805/1.516, allocations: 2.638 MB / 1.153 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of SimCode: time 1.412e-06/1.516, allocations: 0 / 1.153 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7897/2.306, allocations: 168.2 MB / 1.317 GB, free: 371.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/2.306, allocations: 259.4 kB / 1.317 GB, free: 371.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.365/8.671, allocations: 0 / 1.317 GB, free: 371.1 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) Environment - environmentSimulation: