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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 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.001628/0.001628, allocations: 197 kB / 16.53 MB, free: 6.664 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.338/1.338, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.651/1.651, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001398/0.001398, allocations: 79.03 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1788, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04454/0.2234, allocations: 49.29 MB / 0.8316 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.2407, allocations: 13.75 MB / 0.845 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.2427, allocations: 67.62 kB / 0.8451 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.2449, allocations: 0.8071 MB / 0.8459 GB, free: 13.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.2502, allocations: 2.223 MB / 0.8481 GB, free: 11 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.2529, allocations: 1.302 MB / 0.8493 GB, free: 9.707 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01581/0.2688, allocations: 19.44 MB / 0.8683 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.2789, allocations: 9.91 MB / 0.878 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.2903, allocations: 6.494 MB / 0.8843 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008752/0.299, allocations: 5.755 MB / 0.89 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002131/0.3012, allocations: 0.8438 MB / 0.8908 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005137/0.3063, allocations: 1.6 MB / 0.8923 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.3086, allocations: 2.111 MB / 0.8944 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.006/0.3146, allocations: 4.268 MB / 0.8986 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3634/0.678, allocations: 11.88 MB / 0.9102 GB, free: 43.37 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.678, allocations: 2.766 kB / 0.9102 GB, free: 43.37 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.678, allocations: 0 / 0.9102 GB, free: 43.37 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003308/0.6784, allocations: 0 / 0.9102 GB, free: 43.37 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01738/0.6958, allocations: 7.677 MB / 0.9177 GB, free: 40.8 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6958, allocations: 10.66 kB / 0.9177 GB, free: 40.8 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001472/0.6973, allocations: 0.7641 MB / 0.9184 GB, free: 40.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.6999, allocations: 0.7799 MB / 0.9192 GB, free: 40.37 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009412/0.7093, allocations: 5.935 MB / 0.925 GB, free: 39.49 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.7097, allocations: 415.5 kB / 0.9254 GB, free: 39.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.7108, allocations: 0.5392 MB / 0.9259 GB, free: 39.47 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.7277, allocations: 8.074 MB / 0.9338 GB, free: 38.69 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.7279, allocations: 18.28 kB / 0.9338 GB, free: 38.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009818/0.7289, allocations: 236.4 kB / 0.934 GB, free: 38.69 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.7291, allocations: 164.4 kB / 0.9342 GB, free: 38.69 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.7418, allocations: 6.527 MB / 0.9406 GB, free: 38.64 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.03795/0.7798, allocations: 31.41 MB / 0.9712 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.7842, allocations: 3.652 MB / 0.9748 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.7873, allocations: 2.814 MB / 0.9776 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007196/0.788, allocations: 0.8203 MB / 0.9784 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.745e-05/0.7881, allocations: 80.17 kB / 0.9784 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.528e-06/0.7881, allocations: 1.312 kB / 0.9784 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.0091/0.7972, allocations: 5.754 MB / 0.9841 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.7973, allocations: 84.73 kB / 0.9841 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/0.8033, allocations: 5.144 MB / 0.9892 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005332/0.8038, allocations: 84.77 kB / 0.9892 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.8054, allocations: 2.844 MB / 0.992 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.8062, allocations: 0.9331 MB / 0.9929 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008797/0.8071, allocations: 0.7173 MB / 0.9936 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.496e-05/0.8071, allocations: 305.1 kB / 0.9939 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/0.8092, allocations: 1.679 MB / 0.9956 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.8117, allocations: 2.928 MB / 0.9984 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005828/0.8175, allocations: 4.968 MB / 1.003 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/0.8175, allocations: 12.77 kB / 1.003 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008841/0.8264, allocations: 5.428 MB / 1.009 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.8264, allocations: 20 kB / 1.009 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/0.8265, allocations: 40 kB / 1.009 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009506/0.8275, allocations: 421.5 kB / 1.009 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003046/0.8305, allocations: 0.8629 MB / 1.01 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/0.8361, allocations: 5.694 MB / 1.015 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004323/0.8404, allocations: 0.5223 MB / 1.016 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004631/0.8409, allocations: 180 kB / 1.016 GB, free: 13.02 MB / 0.7481 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.003522/0.8444, allocations: 2.26 MB / 1.018 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/0.8457, allocations: 486.2 kB / 1.019 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.8521, allocations: 4.178 MB / 1.023 GB, free: 6.105 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.8521, allocations: 28 kB / 1.023 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.8522, allocations: 4 kB / 1.023 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004889/0.8571, allocations: 3.636 MB / 1.026 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.8734, allocations: 10.26 MB / 1.036 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.8734, allocations: 4 kB / 1.036 GB, free: 8.02 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.8755, allocations: 0.5027 MB / 1.037 GB, free: 7.539 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000828/0.8764, allocations: 376.3 kB / 1.037 GB, free: 7.168 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/0.8766, allocations: 75.95 kB / 1.037 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/0.8818, allocations: 5.648 MB / 1.043 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.8819, allocations: 5.859 kB / 1.043 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00933/0.8912, allocations: 6.243 MB / 1.049 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/0.8939, allocations: 1.088 MB / 1.05 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008132/0.8947, allocations: 71.92 kB / 1.05 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/0.8973, allocations: 181.5 kB / 1.05 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.8976, allocations: 177.1 kB / 1.05 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/0.8979, allocations: 123.9 kB / 1.051 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005349/0.9033, allocations: 3.778 MB / 1.054 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9033, allocations: 0 / 1.054 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005284/0.9086, allocations: 1.796 MB / 1.056 GB, free: 3.598 MB / 0.7794 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.009502/0.9181, allocations: 7.164 MB / 1.063 GB, free: 12.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01368/0.9318, allocations: 8.075 MB / 1.071 GB, free: 4.363 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.9318, allocations: 4.375 kB / 1.071 GB, free: 4.359 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002727/0.9345, allocations: 2.037 MB / 1.073 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01577/0.9503, allocations: 3.467 MB / 1.076 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07117/1.022, allocations: 57.19 MB / 1.132 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/1.025, allocations: 4.275 MB / 1.136 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.005531/1.031, allocations: 1.869 MB / 1.138 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003183/1.034, allocations: 2.416 MB / 1.141 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/1.034, allocations: 0 / 1.141 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.337/2.371, allocations: 157.6 MB / 1.294 GB, free: 386.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/15.31, allocations: 3.594 kB / 1.294 GB, free: 386.6 MB / 0.9981 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)