Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="BuildingSystems_BuildingSystems_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.005247/0.005247, allocations: 97.86 kB / 15.73 MB, free: 6.055 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.001486/0.001486, allocations: 194.7 kB / 16.68 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0024/0.0024, allocations: 286.5 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9653/0.9653, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002579/0.002579, allocations: 95.84 kB / 0.681 GB, free: 12 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1412, allocations: 86.98 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3063/0.4476, allocations: 49.28 MB / 0.814 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.4661, allocations: 13.82 MB / 0.8275 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.468, allocations: 68.16 kB / 0.8276 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.4701, allocations: 0.8044 MB / 0.8284 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.4755, allocations: 2.257 MB / 0.8306 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.4785, allocations: 1.316 MB / 0.8319 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01878/0.4973, allocations: 19.59 MB / 0.851 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.5083, allocations: 9.911 MB / 0.8607 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.5194, allocations: 6.511 MB / 0.867 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008247/0.5277, allocations: 5.759 MB / 0.8726 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.5294, allocations: 0.8477 MB / 0.8735 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.5337, allocations: 1.608 MB / 0.875 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.5357, allocations: 2.115 MB / 0.8771 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004942/0.5406, allocations: 4.291 MB / 0.8813 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.5529, allocations: 12.12 MB / 0.8931 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.553, allocations: 4 kB / 0.8931 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/0.553, allocations: 0 / 0.8931 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002218/0.5532, allocations: 0 / 0.8931 GB, free: 1.012 MB / 0.6387 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.01444/0.5676, allocations: 7.929 MB / 0.9009 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5677, allocations: 8.031 kB / 0.9009 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/0.5688, allocations: 0.7681 MB / 0.9016 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.5712, allocations: 0.8165 MB / 0.9024 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.582, allocations: 6.341 MB / 0.9086 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.5823, allocations: 415.4 kB / 0.909 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007834/0.5831, allocations: 0.5468 MB / 0.9096 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.5952, allocations: 8.068 MB / 0.9174 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.404e-05/0.5953, allocations: 15.88 kB / 0.9175 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005262/0.5958, allocations: 236 kB / 0.9177 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/0.596, allocations: 164 kB / 0.9178 GB, free: 7.32 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009725/0.6057, allocations: 6.528 MB / 0.9242 GB, free: 0.7812 MB / 0.67 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.03477/0.6405, allocations: 31.27 MB / 0.9548 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/0.6456, allocations: 3.65 MB / 0.9583 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.6493, allocations: 2.788 MB / 0.961 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009366/0.6503, allocations: 0.828 MB / 0.9618 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/0.6504, allocations: 76.61 kB / 0.9619 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.389e-06/0.6504, allocations: 0 / 0.9619 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.00981/0.6602, allocations: 5.781 MB / 0.9676 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.6603, allocations: 81.45 kB / 0.9676 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006697/0.667, allocations: 5.24 MB / 0.9728 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.6672, allocations: 73.7 kB / 0.9728 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002557/0.6698, allocations: 2.938 MB / 0.9757 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009833/0.6707, allocations: 0.98 MB / 0.9767 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009829/0.6717, allocations: 0.7195 MB / 0.9774 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6719, allocations: 309 kB / 0.9777 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/0.6744, allocations: 1.67 MB / 0.9793 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/0.6781, allocations: 2.94 MB / 0.9822 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006565/0.6847, allocations: 4.966 MB / 0.987 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.6847, allocations: 8 kB / 0.987 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008638/0.6934, allocations: 5.455 MB / 0.9923 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.6934, allocations: 26.03 kB / 0.9924 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-05/0.6935, allocations: 36 kB / 0.9924 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/0.6944, allocations: 434 kB / 0.9928 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/0.6972, allocations: 0.8657 MB / 0.9937 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.7033, allocations: 5.7 MB / 0.9992 GB, free: 328 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/0.7066, allocations: 0.5278 MB / 0.9997 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002917/0.7069, allocations: 184 kB / 0.9999 GB, free: 15.61 MB / 0.7637 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.003349/0.7102, allocations: 2.277 MB / 1.002 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000817/0.7111, allocations: 0.5125 MB / 1.003 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00662/0.7177, allocations: 4.179 MB / 1.007 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.7177, allocations: 32 kB / 1.007 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7178, allocations: 4 kB / 1.007 GB, free: 8.539 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005238/0.723, allocations: 3.631 MB / 1.01 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.7384, allocations: 10.27 MB / 1.02 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.7384, allocations: 4 kB / 1.02 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/0.7405, allocations: 0.4954 MB / 1.021 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007908/0.7413, allocations: 377.3 kB / 1.021 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.7414, allocations: 75.95 kB / 1.021 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006003/0.7475, allocations: 5.65 MB / 1.027 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.7475, allocations: 11.88 kB / 1.027 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009306/0.7568, allocations: 6.273 MB / 1.033 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/0.7589, allocations: 1.122 MB / 1.034 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006711/0.7596, allocations: 63.98 kB / 1.034 GB, free: 11.81 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/0.7619, allocations: 175.7 kB / 1.034 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/0.7622, allocations: 181.6 kB / 1.034 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002334/0.7625, allocations: 127.9 kB / 1.035 GB, free: 11.33 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.005296/0.7678, allocations: 3.835 MB / 1.038 GB, free: 7.512 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7678, allocations: 0 / 1.038 GB, free: 7.512 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00452/0.7723, allocations: 1.813 MB / 1.04 GB, free: 5.695 MB / 0.795 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.01007/0.7824, allocations: 7.215 MB / 1.047 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006292/0.7887, allocations: 4.284 MB / 1.051 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7887, allocations: 4 kB / 1.051 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/0.7915, allocations: 2.045 MB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01176/0.8033, allocations: 3.453 MB / 1.057 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3274/1.131, allocations: 47.12 MB / 1.103 GB, free: 264 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/1.134, allocations: 4.304 MB / 1.107 GB, free: 262.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.004841/1.139, allocations: 1.855 MB / 1.109 GB, free: 262.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0028/1.142, allocations: 2.445 MB / 1.111 GB, free: 260.6 MB / 0.8419 GB Notification: Performance of SimCode: time 7.51e-07/1.142, allocations: 0 / 1.111 GB, free: 260.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.683/3.825, allocations: 154.2 MB / 1.262 GB, free: 137.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.42/26.24, allocations: 3.859 kB / 1.262 GB, free: 137.3 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)