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.001018/0.001018, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001067/0.001067, allocations: 196.4 kB / 16.91 MB, free: 6.188 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.223/1.223, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6639/0.6639, allocations: 115.3 MB / 406.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2978, allocations: 76.18 MB / 0.556 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03447/0.3323, allocations: 48.87 MB / 0.6037 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3491, allocations: 13.71 MB / 0.6171 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.3513, allocations: 62.75 kB / 0.6172 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.3532, allocations: 0.6835 MB / 0.6179 GB, free: 5.027 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.3585, allocations: 2.096 MB / 0.6199 GB, free: 3.074 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.3612, allocations: 1.199 MB / 0.6211 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01627/0.3775, allocations: 19.68 MB / 0.6403 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.3878, allocations: 9.824 MB / 0.6499 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/0.4007, allocations: 6.576 MB / 0.6563 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008645/0.4094, allocations: 5.934 MB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002616/0.412, allocations: 0.8359 MB / 0.6629 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00581/0.4178, allocations: 1.6 MB / 0.6645 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.4217, allocations: 2.096 MB / 0.6665 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00892/0.4306, allocations: 4.279 MB / 0.6707 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01518/0.4458, allocations: 11.91 MB / 0.6823 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.4459, allocations: 0 / 0.6823 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.536e-06/0.4459, allocations: 3.984 kB / 0.6823 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004035/0.4463, allocations: 0 / 0.6823 GB, free: 2.91 MB / 0.5137 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.01881/0.4651, allocations: 7.714 MB / 0.6899 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4652, allocations: 12.03 kB / 0.6899 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002777/0.468, allocations: 0.7602 MB / 0.6906 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/0.4718, allocations: 0.7891 MB / 0.6914 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01277/0.4846, allocations: 6.238 MB / 0.6975 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004239/0.4851, allocations: 427.2 kB / 0.6979 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/0.4869, allocations: 0.539 MB / 0.6984 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0191/0.506, allocations: 8.065 MB / 0.7063 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002452/0.5063, allocations: 19.78 kB / 0.7063 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001666/0.508, allocations: 236 kB / 0.7065 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.5082, allocations: 167.9 kB / 0.7067 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.5221, allocations: 6.524 MB / 0.7131 GB, free: 3.031 MB / 0.545 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.04696/0.5691, allocations: 31.12 MB / 0.7435 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2327/0.8018, allocations: 3.641 MB / 0.747 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004018/0.8058, allocations: 2.81 MB / 0.7498 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000767/0.8066, allocations: 0.8275 MB / 0.7506 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.8067, allocations: 76.42 kB / 0.7507 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=267): time 4.609e-06/0.8067, allocations: 2.719 kB / 0.7507 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=267): time 0.009299/0.816, allocations: 5.756 MB / 0.7563 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.816, allocations: 84.2 kB / 0.7564 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006388/0.8224, allocations: 5.03 MB / 0.7613 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.8228, allocations: 77.8 kB / 0.7613 GB, free: 151 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.8244, allocations: 2.873 MB / 0.7641 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007532/0.8252, allocations: 0.9364 MB / 0.7651 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008601/0.8261, allocations: 0.7158 MB / 0.7658 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.8261, allocations: 303 kB / 0.7661 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.8284, allocations: 1.676 MB / 0.7677 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.8311, allocations: 2.935 MB / 0.7706 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005045/0.8361, allocations: 4.962 MB / 0.7754 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-05/0.8362, allocations: 11.97 kB / 0.7754 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007646/0.8438, allocations: 5.438 MB / 0.7807 GB, free: 140 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.8439, allocations: 26.22 kB / 0.7807 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.8439, allocations: 39.47 kB / 0.7808 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/0.8448, allocations: 425.8 kB / 0.7812 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.8474, allocations: 0.8584 MB / 0.782 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.8513, allocations: 5.704 MB / 0.7876 GB, free: 135.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.8549, allocations: 0.6425 MB / 0.7882 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.8552, allocations: 181.1 kB / 0.7884 GB, free: 135.3 MB / 0.5762 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.002761/0.8579, allocations: 2.281 MB / 0.7906 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007644/0.8587, allocations: 496.4 kB / 0.7911 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/0.8636, allocations: 4.176 MB / 0.7952 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.8637, allocations: 26.59 kB / 0.7952 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.8637, allocations: 3.781 kB / 0.7952 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00361/0.8673, allocations: 3.635 MB / 0.7988 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.8789, allocations: 10.2 MB / 0.8087 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.879, allocations: 4 kB / 0.8087 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.8808, allocations: 0.5038 MB / 0.8092 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000636/0.8815, allocations: 373.3 kB / 0.8096 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.8816, allocations: 71.97 kB / 0.8096 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/0.8853, allocations: 5.66 MB / 0.8152 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.8853, allocations: 11.94 kB / 0.8152 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/0.8918, allocations: 6.243 MB / 0.8213 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/0.8938, allocations: 1.072 MB / 0.8223 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006348/0.8945, allocations: 59.98 kB / 0.8224 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/0.8971, allocations: 332.2 kB / 0.8227 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.8974, allocations: 173.2 kB / 0.8229 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/0.8976, allocations: 135.9 kB / 0.823 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004608/0.9022, allocations: 3.683 MB / 0.8266 GB, free: 100 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9022, allocations: 0 / 0.8266 GB, free: 100 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005396/0.9076, allocations: 1.783 MB / 0.8283 GB, free: 98.25 MB / 0.5762 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.007646/0.9153, allocations: 7.175 MB / 0.8353 GB, free: 90.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01173/0.927, allocations: 8.068 MB / 0.8432 GB, free: 82.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.9271, allocations: 4 kB / 0.8432 GB, free: 82.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.9293, allocations: 2.039 MB / 0.8452 GB, free: 80.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/0.944, allocations: 3.463 MB / 0.8486 GB, free: 77.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.113/1.057, allocations: 58.53 MB / 0.9057 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.06, allocations: 4.309 MB / 0.91 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004957/1.065, allocations: 1.85 MB / 0.9118 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003125/1.068, allocations: 2.436 MB / 0.9141 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/1.068, allocations: 0 / 0.9141 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.141/2.208, allocations: 155.6 MB / 1.066 GB, free: 146.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/2.209, allocations: 274.9 kB / 1.066 GB, free: 146.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.212/7.421, allocations: 0 / 1.066 GB, free: 146.2 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)