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.001025/0.001025, 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.001043/0.001043, allocations: 196.7 kB / 16.14 MB, free: 6.715 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.236/1.236, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001956/0.001956, allocations: 291 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.888/0.888, allocations: 169.2 MB / 0.4977 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 93.67 kB / 0.5946 GB, free: 28.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1301, allocations: 86.98 MB / 0.6795 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04182/0.172, allocations: 48.97 MB / 0.7274 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.1879, allocations: 13.83 MB / 0.7409 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.1897, allocations: 63.62 kB / 0.7409 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.1914, allocations: 0.6564 MB / 0.7416 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.1959, allocations: 2.092 MB / 0.7436 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.1983, allocations: 1.19 MB / 0.7448 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01954/0.2179, allocations: 25.64 MB / 0.7698 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.263/0.4809, allocations: 8.08 MB / 0.7777 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008004/0.489, allocations: 4.998 MB / 0.7826 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008392/0.4974, allocations: 5.601 MB / 0.788 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.4987, allocations: 419.2 kB / 0.7884 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.5026, allocations: 1.104 MB / 0.7895 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.5042, allocations: 1.618 MB / 0.7911 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00569/0.5099, allocations: 3.75 MB / 0.7948 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.5221, allocations: 11.58 MB / 0.8061 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5222, allocations: 0 / 0.8061 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5222, allocations: 0 / 0.8061 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003126/0.5225, allocations: 1.906 kB / 0.8061 GB, free: 7.785 MB / 0.5606 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.01598/0.5385, allocations: 7.718 MB / 0.8136 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5385, allocations: 7.969 kB / 0.8136 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001251/0.5398, allocations: 0.7677 MB / 0.8144 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.5422, allocations: 0.7871 MB / 0.8151 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009465/0.5517, allocations: 6.242 MB / 0.8212 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.5519, allocations: 416.4 kB / 0.8216 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001041/0.553, allocations: 0.539 MB / 0.8222 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.5646, allocations: 8.073 MB / 0.83 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.5648, allocations: 23.14 kB / 0.8301 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005764/0.5653, allocations: 238 kB / 0.8303 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.5655, allocations: 161 kB / 0.8304 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009368/0.5748, allocations: 6.525 MB / 0.8368 GB, free: 14.48 MB / 0.5762 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.03428/0.6091, allocations: 31.11 MB / 0.8672 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/0.6136, allocations: 3.637 MB / 0.8708 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003513/0.6171, allocations: 2.812 MB / 0.8735 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008952/0.618, allocations: 0.8254 MB / 0.8743 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/0.6181, allocations: 84.59 kB / 0.8744 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.118e-06/0.6181, allocations: 0 / 0.8744 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.009944/0.6281, allocations: 5.763 MB / 0.88 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.6281, allocations: 77.52 kB / 0.8801 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/0.635, allocations: 5.029 MB / 0.885 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004382/0.6355, allocations: 81.7 kB / 0.8851 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002209/0.6377, allocations: 2.865 MB / 0.8879 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/0.6387, allocations: 0.9368 MB / 0.8888 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009713/0.6397, allocations: 0.7191 MB / 0.8895 GB, free: 56 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6398, allocations: 305.1 kB / 0.8898 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002444/0.6423, allocations: 1.675 MB / 0.8914 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/0.6455, allocations: 2.929 MB / 0.8943 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005835/0.6513, allocations: 4.967 MB / 0.8991 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-05/0.6513, allocations: 12 kB / 0.8991 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008354/0.6597, allocations: 5.438 MB / 0.9045 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.6598, allocations: 20 kB / 0.9045 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/0.6598, allocations: 40 kB / 0.9045 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009268/0.6607, allocations: 420.2 kB / 0.9049 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.6636, allocations: 0.8613 MB / 0.9058 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.6688, allocations: 5.265 MB / 0.9109 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/0.6735, allocations: 0.6471 MB / 0.9115 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.6739, allocations: 184 kB / 0.9117 GB, free: 8.371 MB / 0.6387 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.003917/0.6778, allocations: 2.288 MB / 0.9139 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/0.679, allocations: 486.1 kB / 0.9144 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006514/0.6855, allocations: 4.189 MB / 0.9185 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.6856, allocations: 28 kB / 0.9185 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6856, allocations: 7.938 kB / 0.9185 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004817/0.6904, allocations: 3.633 MB / 0.9221 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.7071, allocations: 10.2 MB / 0.932 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.7072, allocations: 7.984 kB / 0.932 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/0.7092, allocations: 0.5009 MB / 0.9325 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007776/0.71, allocations: 379.3 kB / 0.9329 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.7102, allocations: 71.97 kB / 0.933 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.7151, allocations: 5.203 MB / 0.938 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.7151, allocations: 11.75 kB / 0.9381 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008872/0.724, allocations: 6.241 MB / 0.9441 GB, free: 6.633 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/0.7268, allocations: 1.076 MB / 0.9452 GB, free: 5.531 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/0.7275, allocations: 63.92 kB / 0.9453 GB, free: 5.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/0.7303, allocations: 334.7 kB / 0.9456 GB, free: 5.148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.7306, allocations: 177.5 kB / 0.9457 GB, free: 4.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/0.7309, allocations: 127.9 kB / 0.9459 GB, free: 4.855 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005063/0.736, allocations: 3.683 MB / 0.9495 GB, free: 1.188 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.736, allocations: 0 / 0.9495 GB, free: 1.188 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005358/0.7413, allocations: 1.785 MB / 0.9512 GB, free: 15.39 MB / 0.6856 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.009632/0.751, allocations: 7.171 MB / 0.9582 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006023/0.757, allocations: 4.262 MB / 0.9624 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.757, allocations: 0 / 0.9624 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/0.7596, allocations: 2.047 MB / 0.9644 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/0.7739, allocations: 3.281 MB / 0.9676 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1306/0.9045, allocations: 58.52 MB / 1.025 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003813/0.9083, allocations: 4.307 MB / 1.029 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005527/0.9139, allocations: 1.837 MB / 1.031 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003327/0.9172, allocations: 2.439 MB / 1.033 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of SimCode: time 5.71e-07/0.9172, allocations: 0 / 1.033 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4106/1.328, allocations: 151.7 MB / 1.181 GB, free: 197.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/1.328, allocations: 291.8 kB / 1.182 GB, free: 196.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.768/7.096, allocations: 0 / 1.182 GB, free: 196.8 MB / 0.7794 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)