Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IBPSA_latest_IBPSA_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.001384/0.001384, allocations: 98.58 kB / 16.02 MB, free: 80 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.0008408/0.0008407, allocations: 185 kB / 16.92 MB, free: 6.773 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6032/0.6032, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002517, allocations: 8 kB / 495.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.2373/0.3465, allocations: 47.95 MB / 0.6069 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.3605, allocations: 13.67 MB / 0.6202 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00189/0.3624, allocations: 59.47 kB / 0.6203 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.3642, allocations: 0.6505 MB / 0.6209 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.3691, allocations: 2.089 MB / 0.6229 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.3718, allocations: 1.19 MB / 0.6241 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01952/0.3913, allocations: 25.64 MB / 0.6491 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008056/0.3994, allocations: 7.817 MB / 0.6568 GB, free: 3.469 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006257/0.4057, allocations: 4.707 MB / 0.6614 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00503/0.4107, allocations: 5.215 MB / 0.6665 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004991/0.4112, allocations: 300 kB / 0.6668 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.4136, allocations: 0.9827 MB / 0.6677 GB, free: 8.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.4147, allocations: 1.436 MB / 0.6691 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003155/0.4179, allocations: 3.531 MB / 0.6726 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008227/0.4261, allocations: 11.27 MB / 0.6836 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4261, allocations: 3.938 kB / 0.6836 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4261, allocations: 0 / 0.6836 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001036/0.4263, allocations: 3.938 kB / 0.6836 GB, free: 7.918 MB / 0.4981 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.008863/0.4351, allocations: 6.23 MB / 0.6897 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.4352, allocations: 8.031 kB / 0.6897 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008536/0.436, allocations: 0.7642 MB / 0.6904 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.4377, allocations: 0.7853 MB / 0.6912 GB, free: 40 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007793/0.4455, allocations: 6.242 MB / 0.6973 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4457, allocations: 415.4 kB / 0.6977 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006894/0.4464, allocations: 0.5428 MB / 0.6982 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.4567, allocations: 8.076 MB / 0.7061 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.4569, allocations: 19.78 kB / 0.7061 GB, free: 468 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004733/0.4573, allocations: 236 kB / 0.7063 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.4575, allocations: 167.9 kB / 0.7065 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008635/0.4661, allocations: 6.524 MB / 0.7129 GB, free: 9.523 MB / 0.5294 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.02826/0.4944, allocations: 31.17 MB / 0.7433 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/0.4989, allocations: 3.646 MB / 0.7469 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/0.5023, allocations: 2.827 MB / 0.7496 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008061/0.5031, allocations: 0.8397 MB / 0.7504 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.5032, allocations: 72.61 kB / 0.7505 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=267): time 3.667e-06/0.5032, allocations: 0 / 0.7505 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.008911/0.5121, allocations: 5.786 MB / 0.7562 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.5122, allocations: 81.52 kB / 0.7562 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00566/0.5178, allocations: 5.036 MB / 0.7612 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.518, allocations: 77.7 kB / 0.7612 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.52, allocations: 2.876 MB / 0.764 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000788/0.5208, allocations: 0.932 MB / 0.765 GB, free: 2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.5212, allocations: 305.6 kB / 0.7652 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.5212, allocations: 305.1 kB / 0.7655 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.5234, allocations: 1.678 MB / 0.7672 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.5263, allocations: 2.928 MB / 0.77 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005409/0.5318, allocations: 4.962 MB / 0.7749 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.5318, allocations: 12 kB / 0.7749 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007385/0.5392, allocations: 5.441 MB / 0.7802 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.5392, allocations: 22.84 kB / 0.7802 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/0.5393, allocations: 40 kB / 0.7803 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/0.5401, allocations: 419 kB / 0.7807 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.5428, allocations: 0.8619 MB / 0.7815 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/0.5476, allocations: 5.262 MB / 0.7866 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/0.5512, allocations: 0.6472 MB / 0.7873 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.5515, allocations: 176 kB / 0.7874 GB, free: 9.48 MB / 0.6075 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.003018/0.5545, allocations: 2.284 MB / 0.7897 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/0.5551, allocations: 494.1 kB / 0.7901 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/0.5609, allocations: 4.179 MB / 0.7942 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.5609, allocations: 27.98 kB / 0.7943 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5609, allocations: 7.938 kB / 0.7943 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004463/0.5654, allocations: 3.628 MB / 0.7978 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.5785, allocations: 10.21 MB / 0.8078 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.5785, allocations: 4.562 kB / 0.8078 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.5804, allocations: 0.5031 MB / 0.8083 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.5811, allocations: 371.8 kB / 0.8086 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.5813, allocations: 75.97 kB / 0.8087 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004576/0.5858, allocations: 5.202 MB / 0.8138 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.5859, allocations: 11.94 kB / 0.8138 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007492/0.5934, allocations: 6.247 MB / 0.8199 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.5951, allocations: 1.166 MB / 0.821 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.5956, allocations: 63.98 kB / 0.8211 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/0.5982, allocations: 330.4 kB / 0.8214 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.5985, allocations: 177.6 kB / 0.8216 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/0.5987, allocations: 124.3 kB / 0.8217 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004258/0.603, allocations: 3.687 MB / 0.8253 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.603, allocations: 0 / 0.8253 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003553/0.6065, allocations: 1.785 MB / 0.827 GB, free: 108 kB / 0.6387 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.2013/0.8079, allocations: 7.169 MB / 0.834 GB, free: 211.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005613/0.8135, allocations: 4.256 MB / 0.8382 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.8135, allocations: 3.469 kB / 0.8382 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/0.816, allocations: 2.04 MB / 0.8402 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01545/0.8315, allocations: 3.281 MB / 0.8434 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09332/0.9248, allocations: 58.75 MB / 0.9008 GB, free: 161.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002604/0.9275, allocations: 4.303 MB / 0.905 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004629/0.9321, allocations: 1.838 MB / 0.9068 GB, free: 155.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/0.9343, allocations: 2.44 MB / 0.9091 GB, free: 153.2 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.9343, allocations: 0 / 0.9091 GB, free: 153.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 11.41/12.35, allocations: 150.5 MB / 1.056 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/12.35, allocations: 275.7 kB / 1.056 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.948/17.3, allocations: 6.109 kB / 1.056 GB, free: 3.359 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)