Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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.001392/0.001392, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001323/0.001323, allocations: 189.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.649/1.649, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.00145/0.00145, allocations: 68.73 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.179, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04115/0.2202, allocations: 48.9 MB / 0.8307 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.2353, allocations: 13.63 MB / 0.844 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.2369, allocations: 59.62 kB / 0.8441 GB, free: 15.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.2387, allocations: 0.6838 MB / 0.8448 GB, free: 14.33 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004367/0.243, allocations: 2.076 MB / 0.8468 GB, free: 12.24 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002384/0.2454, allocations: 1.186 MB / 0.8479 GB, free: 11.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01619/0.2616, allocations: 19.54 MB / 0.867 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009751/0.2714, allocations: 9.808 MB / 0.8766 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.2824, allocations: 6.57 MB / 0.883 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007014/0.2894, allocations: 5.93 MB / 0.8888 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.2905, allocations: 0.8359 MB / 0.8896 GB, free: 200 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.2938, allocations: 1.6 MB / 0.8912 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.2954, allocations: 2.096 MB / 0.8932 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00413/0.2995, allocations: 4.256 MB / 0.8974 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.3084, allocations: 11.86 MB / 0.909 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3085, allocations: 0 / 0.909 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3085, allocations: 0 / 0.909 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001556/0.3086, allocations: 0 / 0.909 GB, free: 12.33 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01081/0.3194, allocations: 7.659 MB / 0.9165 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3195, allocations: 12.03 kB / 0.9165 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008575/0.3204, allocations: 0.768 MB / 0.9172 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.3223, allocations: 0.7736 MB / 0.918 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3269/0.6492, allocations: 6.114 MB / 0.9239 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/0.6497, allocations: 420.7 kB / 0.9243 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001587/0.6513, allocations: 0.5393 MB / 0.9249 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/0.6655, allocations: 8.072 MB / 0.9328 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.6656, allocations: 16.02 kB / 0.9328 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005142/0.6661, allocations: 236 kB / 0.933 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.6663, allocations: 173 kB / 0.9332 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.6771, allocations: 6.523 MB / 0.9395 GB, free: 121.3 MB / 0.7325 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.03048/0.7076, allocations: 31.09 MB / 0.9699 GB, free: 97.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/0.7115, allocations: 3.66 MB / 0.9735 GB, free: 95.62 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002856/0.7144, allocations: 2.807 MB / 0.9762 GB, free: 94.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006622/0.7151, allocations: 0.8268 MB / 0.977 GB, free: 93.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.7152, allocations: 71.52 kB / 0.9771 GB, free: 93.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 4.187e-06/0.7152, allocations: 0 / 0.9771 GB, free: 93.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.00829/0.7235, allocations: 5.764 MB / 0.9827 GB, free: 88.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.7235, allocations: 77.52 kB / 0.9828 GB, free: 88.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/0.7285, allocations: 4.946 MB / 0.9876 GB, free: 83.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/0.7288, allocations: 77.7 kB / 0.9877 GB, free: 83.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.7302, allocations: 2.844 MB / 0.9905 GB, free: 80.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006825/0.7309, allocations: 0.9352 MB / 0.9914 GB, free: 79.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007132/0.7316, allocations: 0.7191 MB / 0.9921 GB, free: 78.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.7316, allocations: 309.1 kB / 0.9924 GB, free: 78.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/0.7334, allocations: 1.677 MB / 0.994 GB, free: 76.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.7356, allocations: 2.932 MB / 0.9969 GB, free: 73.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.7398, allocations: 4.962 MB / 1.002 GB, free: 67.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.7398, allocations: 12 kB / 1.002 GB, free: 67.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006531/0.7463, allocations: 5.429 MB / 1.007 GB, free: 62.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.7464, allocations: 24 kB / 1.007 GB, free: 62.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.7464, allocations: 40 kB / 1.007 GB, free: 62.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.7472, allocations: 425.8 kB / 1.008 GB, free: 61.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/0.7496, allocations: 0.8625 MB / 1.008 GB, free: 60.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003851/0.7535, allocations: 5.687 MB / 1.014 GB, free: 55.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/0.7574, allocations: 0.6471 MB / 1.015 GB, free: 54.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.7576, allocations: 180 kB / 1.015 GB, free: 54.21 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.002615/0.7602, allocations: 2.267 MB / 1.017 GB, free: 51.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/0.7611, allocations: 482.2 kB / 1.017 GB, free: 51.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.766, allocations: 4.171 MB / 1.021 GB, free: 47.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.725e-05/0.766, allocations: 32.03 kB / 1.021 GB, free: 47.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.766, allocations: 7.938 kB / 1.021 GB, free: 47.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00366/0.7697, allocations: 3.64 MB / 1.025 GB, free: 43.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.782, allocations: 10.18 MB / 1.035 GB, free: 33.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.782, allocations: 8.125 kB / 1.035 GB, free: 33.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/0.7839, allocations: 0.4992 MB / 1.035 GB, free: 32.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000684/0.7846, allocations: 376.3 kB / 1.036 GB, free: 32.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.7847, allocations: 79.95 kB / 1.036 GB, free: 32.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/0.7885, allocations: 5.638 MB / 1.041 GB, free: 26.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7885, allocations: 8 kB / 1.041 GB, free: 26.28 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/0.7956, allocations: 6.247 MB / 1.048 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/0.7977, allocations: 1.072 MB / 1.049 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006422/0.7984, allocations: 59.98 kB / 1.049 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/0.801, allocations: 327.7 kB / 1.049 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.8013, allocations: 178.8 kB / 1.049 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.8015, allocations: 131.9 kB / 1.049 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003647/0.8051, allocations: 3.622 MB / 1.053 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8051, allocations: 0 / 1.053 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003902/0.809, allocations: 1.784 MB / 1.055 GB, free: 12.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.007227/0.8163, allocations: 7.162 MB / 1.062 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01164/0.8279, allocations: 8.068 MB / 1.069 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.8279, allocations: 4.062 kB / 1.069 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.8305, allocations: 2.043 MB / 1.071 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01329/0.8438, allocations: 3.476 MB / 1.075 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.118/0.9618, allocations: 57.82 MB / 1.131 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003758/0.9656, allocations: 4.28 MB / 1.135 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.005098/0.9707, allocations: 1.865 MB / 1.137 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003217/0.9739, allocations: 2.401 MB / 1.14 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of SimCode: time 1.132e-06/0.9739, allocations: 4 kB / 1.14 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.359/2.333, allocations: 155.1 MB / 1.291 GB, free: 325.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/2.333, allocations: 273.1 kB / 1.291 GB, free: 325 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.112/7.445, allocations: 0.875 kB / 1.291 GB, free: 325 MB / 0.9512 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)