Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_10_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.001227/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00126/0.00126, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.296/2.296, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 71.89 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4955, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04085/0.5364, allocations: 49 MB / 1.065 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.5514, allocations: 13.83 MB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.5532, allocations: 59.62 kB / 1.078 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.5551, allocations: 0.6564 MB / 1.079 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.5598, allocations: 2.084 MB / 1.081 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.5624, allocations: 1.196 MB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01882/0.5813, allocations: 25.63 MB / 1.107 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008706/0.59, allocations: 8.094 MB / 1.115 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007278/0.5973, allocations: 4.996 MB / 1.12 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006989/0.6043, allocations: 5.582 MB / 1.125 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.6058, allocations: 424 kB / 1.126 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.6099, allocations: 1.108 MB / 1.127 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.6119, allocations: 1.623 MB / 1.128 GB, free: 28 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004834/0.6168, allocations: 3.756 MB / 1.132 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008675/0.6255, allocations: 11.57 MB / 1.143 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6255, allocations: 0 / 1.143 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6255, allocations: 0 / 1.143 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001478/0.6256, allocations: 0 / 1.143 GB, free: 0.6562 MB / 0.8887 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.01102/0.6367, allocations: 7.713 MB / 1.151 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.6367, allocations: 11.97 kB / 1.151 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008635/0.6376, allocations: 0.772 MB / 1.152 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.6395, allocations: 0.7775 MB / 1.152 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008291/0.6478, allocations: 6.244 MB / 1.158 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.6481, allocations: 415.2 kB / 1.159 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006797/0.6488, allocations: 0.5428 MB / 1.159 GB, free: 32 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.6598, allocations: 8.072 MB / 1.167 GB, free: 7.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-05/0.6599, allocations: 15.84 kB / 1.167 GB, free: 7.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005008/0.6604, allocations: 240 kB / 1.167 GB, free: 7.469 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.6605, allocations: 171.9 kB / 1.168 GB, free: 7.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00886/0.6694, allocations: 6.52 MB / 1.174 GB, free: 0.7695 MB / 0.92 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.02954/0.6989, allocations: 31.12 MB / 1.204 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004651/0.7036, allocations: 3.641 MB / 1.208 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003274/0.7069, allocations: 2.818 MB / 1.211 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008092/0.7077, allocations: 0.8241 MB / 1.212 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.7078, allocations: 72.66 kB / 1.212 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=267): time 3.857e-06/0.7078, allocations: 0 / 1.212 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=267): time 0.009091/0.7169, allocations: 5.763 MB / 1.217 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.7169, allocations: 77.52 kB / 1.217 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/0.7225, allocations: 5.028 MB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.7228, allocations: 77.7 kB / 1.222 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.7246, allocations: 2.868 MB / 1.225 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000794/0.7254, allocations: 0.9398 MB / 1.226 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008289/0.7263, allocations: 0.7113 MB / 1.227 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.7264, allocations: 313 kB / 1.227 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.7286, allocations: 1.678 MB / 1.229 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002804/0.7314, allocations: 2.924 MB / 1.231 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/0.7367, allocations: 4.974 MB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/0.7368, allocations: 12 kB / 1.236 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007483/0.7443, allocations: 5.441 MB / 1.242 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.7443, allocations: 20 kB / 1.242 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.28e-05/0.7443, allocations: 40 kB / 1.242 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000846/0.7452, allocations: 422.5 kB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.7479, allocations: 0.858 MB / 1.243 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.7526, allocations: 5.263 MB / 1.248 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/0.7562, allocations: 0.6433 MB / 1.249 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.7565, allocations: 180.2 kB / 1.249 GB, free: 424 kB / 0.9981 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.3606/1.117, allocations: 2.288 MB / 1.251 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.118, allocations: 490 kB / 1.252 GB, free: 211.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006269/1.125, allocations: 4.183 MB / 1.256 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/1.125, allocations: 26.22 kB / 1.256 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.125, allocations: 4.406 kB / 1.256 GB, free: 210.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004938/1.13, allocations: 3.636 MB / 1.259 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.145, allocations: 10.2 MB / 1.269 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/1.145, allocations: 5.125 kB / 1.269 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.146, allocations: 0.5002 MB / 1.27 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/1.147, allocations: 380.9 kB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/1.147, allocations: 70.52 kB / 1.27 GB, free: 205.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/1.151, allocations: 5.213 MB / 1.275 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.151, allocations: 4.125 kB / 1.275 GB, free: 201.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007022/1.158, allocations: 6.25 MB / 1.281 GB, free: 199 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.16, allocations: 1.077 MB / 1.282 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005716/1.161, allocations: 61.97 kB / 1.282 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002519/1.163, allocations: 329.6 kB / 1.283 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/1.163, allocations: 177 kB / 1.283 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.164, allocations: 130.8 kB / 1.283 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003821/1.167, allocations: 3.681 MB / 1.287 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.167, allocations: 3 kB / 1.287 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003845/1.171, allocations: 1.788 MB / 1.288 GB, free: 196.5 MB / 0.9981 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.007075/1.178, allocations: 7.18 MB / 1.295 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004334/1.183, allocations: 4.249 MB / 1.3 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.183, allocations: 7.781 kB / 1.3 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/1.185, allocations: 2.053 MB / 1.302 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01047/1.195, allocations: 3.272 MB / 1.305 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/1.297, allocations: 58.51 MB / 1.362 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/1.3, allocations: 4.319 MB / 1.366 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004573/1.305, allocations: 1.84 MB / 1.368 GB, free: 112.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/1.307, allocations: 2.44 MB / 1.37 GB, free: 110 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/1.307, allocations: 4 kB / 1.37 GB, free: 110 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4916/1.799, allocations: 151.7 MB / 1.518 GB, free: 7.383 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.799, allocations: 281.7 kB / 1.519 GB, free: 7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.571/7.37, allocations: 0 / 1.519 GB, free: 7 MB / 1.045 GB (rm -f Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_10_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)