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.001005/0.001005, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001003/0.001003, allocations: 199.3 kB / 16.14 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.177/1.177, allocations: 205.1 MB / 222 MB, free: 4.742 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.497/1.497, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001266/0.001266, allocations: 66.98 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1778, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04219/0.22, allocations: 48.99 MB / 0.8306 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.2366, allocations: 13.76 MB / 0.8441 GB, free: 14.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.2385, allocations: 59.62 kB / 0.8441 GB, free: 14.9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.2402, allocations: 0.6485 MB / 0.8448 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.2446, allocations: 2.068 MB / 0.8468 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.247, allocations: 1.172 MB / 0.8479 GB, free: 11.01 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01982/0.2668, allocations: 25.5 MB / 0.8728 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008423/0.2753, allocations: 8.09 MB / 0.8807 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007119/0.2824, allocations: 4.996 MB / 0.8856 GB, free: 4.203 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00666/0.2891, allocations: 5.59 MB / 0.8911 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008089/0.2899, allocations: 424 kB / 0.8915 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/0.2929, allocations: 1.108 MB / 0.8926 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.2943, allocations: 1.615 MB / 0.8941 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004253/0.2985, allocations: 3.733 MB / 0.8978 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.309, allocations: 11.52 MB / 0.909 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3091, allocations: 0 / 0.909 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3091, allocations: 0 / 0.909 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001887/0.3093, allocations: 0 / 0.909 GB, free: 12.14 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.01129/0.3206, allocations: 7.666 MB / 0.9165 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3206, allocations: 12.03 kB / 0.9165 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008691/0.3215, allocations: 0.7564 MB / 0.9173 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.3234, allocations: 0.7853 MB / 0.918 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.281/0.6045, allocations: 6.111 MB / 0.924 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.6048, allocations: 417.1 kB / 0.9244 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.6062, allocations: 0.5392 MB / 0.9249 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.6182, allocations: 8.072 MB / 0.9328 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.6183, allocations: 20.38 kB / 0.9328 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/0.6188, allocations: 230.8 kB / 0.933 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.6189, allocations: 168.2 kB / 0.9332 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008934/0.6278, allocations: 6.526 MB / 0.9396 GB, free: 121.5 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.02424/0.6521, allocations: 31.09 MB / 0.9699 GB, free: 97.63 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.6557, allocations: 3.652 MB / 0.9735 GB, free: 95.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.6585, allocations: 2.809 MB / 0.9763 GB, free: 94.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/0.6591, allocations: 0.8224 MB / 0.9771 GB, free: 93.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6591, allocations: 70.86 kB / 0.9771 GB, free: 93.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 5.6e-06/0.6591, allocations: 0 / 0.9771 GB, free: 93.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.007281/0.6664, allocations: 5.769 MB / 0.9828 GB, free: 88.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.6665, allocations: 77.52 kB / 0.9828 GB, free: 88.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004186/0.6706, allocations: 4.953 MB / 0.9877 GB, free: 83.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.6708, allocations: 77.7 kB / 0.9877 GB, free: 83.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.6722, allocations: 2.841 MB / 0.9905 GB, free: 80.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006526/0.6728, allocations: 0.9377 MB / 0.9914 GB, free: 79.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.6736, allocations: 0.7113 MB / 0.9921 GB, free: 78.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.294e-05/0.6736, allocations: 301.1 kB / 0.9924 GB, free: 78.58 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.6754, allocations: 1.678 MB / 0.9941 GB, free: 76.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002172/0.6776, allocations: 2.941 MB / 0.9969 GB, free: 73.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004223/0.6818, allocations: 4.955 MB / 1.002 GB, free: 67.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.6819, allocations: 16 kB / 1.002 GB, free: 67.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.006492/0.6884, allocations: 5.43 MB / 1.007 GB, free: 62.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.6884, allocations: 24 kB / 1.007 GB, free: 62.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.6884, allocations: 44.16 kB / 1.007 GB, free: 62.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000741/0.6892, allocations: 417.3 kB / 1.008 GB, free: 61.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/0.6916, allocations: 0.858 MB / 1.008 GB, free: 61.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.6953, allocations: 5.259 MB / 1.014 GB, free: 55.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/0.6986, allocations: 0.6483 MB / 1.014 GB, free: 54.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/0.6988, allocations: 184 kB / 1.014 GB, free: 54.67 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.002435/0.7013, allocations: 2.265 MB / 1.017 GB, free: 52.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006071/0.7019, allocations: 478.2 kB / 1.017 GB, free: 51.92 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/0.7067, allocations: 4.172 MB / 1.021 GB, free: 47.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.7067, allocations: 24 kB / 1.021 GB, free: 47.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7067, allocations: 6.078 kB / 1.021 GB, free: 47.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003659/0.7104, allocations: 3.644 MB / 1.025 GB, free: 43.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/0.7215, allocations: 10.19 MB / 1.035 GB, free: 33.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7215, allocations: 4 kB / 1.035 GB, free: 33.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.7233, allocations: 0.4993 MB / 1.035 GB, free: 33.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/0.7239, allocations: 372.3 kB / 1.035 GB, free: 32.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.7241, allocations: 79.95 kB / 1.036 GB, free: 32.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.7276, allocations: 5.207 MB / 1.041 GB, free: 27.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7277, allocations: 7.938 kB / 1.041 GB, free: 27.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006317/0.734, allocations: 6.239 MB / 1.047 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.7356, allocations: 1.072 MB / 1.048 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/0.7361, allocations: 59.98 kB / 1.048 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/0.7386, allocations: 339.5 kB / 1.048 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.7388, allocations: 173.6 kB / 1.048 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/0.739, allocations: 131.9 kB / 1.048 GB, free: 19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003424/0.7425, allocations: 3.626 MB / 1.052 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7425, allocations: 0 / 1.052 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003308/0.7458, allocations: 1.776 MB / 1.054 GB, free: 13.63 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.007022/0.7528, allocations: 7.161 MB / 1.061 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004457/0.7573, allocations: 4.261 MB / 1.065 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7573, allocations: 4 kB / 1.065 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.7593, allocations: 2.04 MB / 1.067 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/0.7704, allocations: 3.289 MB / 1.07 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1072/0.8776, allocations: 57.84 MB / 1.127 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/0.8825, allocations: 4.278 MB / 1.131 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006359/0.8889, allocations: 1.905 MB / 1.133 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003778/0.8926, allocations: 2.413 MB / 1.135 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of SimCode: time 8.82e-07/0.8927, allocations: 0 / 1.135 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.81/4.703, allocations: 151.1 MB / 1.283 GB, free: 317 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/4.703, allocations: 274.1 kB / 1.283 GB, free: 316.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.11/9.813, allocations: 0 / 1.283 GB, free: 316.7 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)