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.004541/0.004541, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001103/0.001103, allocations: 192.4 kB / 16.67 MB, free: 6.379 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002165/0.002165, allocations: 282.9 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9102/0.9102, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 96.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.3714/0.5434, allocations: 49.27 MB / 0.814 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.5636, allocations: 13.81 MB / 0.8275 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.5671, allocations: 72.94 kB / 0.8276 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/0.5696, allocations: 0.8041 MB / 0.8284 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.5772, allocations: 2.25 MB / 0.8306 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.5806, allocations: 1.324 MB / 0.8318 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01941/0.6, allocations: 19.59 MB / 0.851 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/0.6124, allocations: 9.903 MB / 0.8607 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01422/0.6266, allocations: 6.58 MB / 0.8671 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.6367, allocations: 5.766 MB / 0.8727 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002137/0.6388, allocations: 0.8438 MB / 0.8735 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005586/0.6444, allocations: 1.604 MB / 0.8751 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003448/0.6479, allocations: 2.119 MB / 0.8772 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008404/0.6563, allocations: 4.295 MB / 0.8814 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0143/0.6706, allocations: 12.08 MB / 0.8932 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6706, allocations: 0 / 0.8932 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6707, allocations: 0 / 0.8932 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004268/0.6711, allocations: 0 / 0.8932 GB, free: 1.016 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.01913/0.6902, allocations: 7.734 MB / 0.9007 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.6903, allocations: 8.031 kB / 0.9007 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002232/0.6925, allocations: 0.7681 MB / 0.9015 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.696, allocations: 0.7852 MB / 0.9022 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.7072, allocations: 6.31 MB / 0.9084 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.7075, allocations: 419.4 kB / 0.9088 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.7092, allocations: 0.5428 MB / 0.9093 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01673/0.7259, allocations: 8.065 MB / 0.9172 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001916/0.7261, allocations: 27.72 kB / 0.9172 GB, free: 7.969 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/0.7274, allocations: 236 kB / 0.9175 GB, free: 7.738 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001543/0.7276, allocations: 171.9 kB / 0.9176 GB, free: 7.57 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.7388, allocations: 6.516 MB / 0.924 GB, free: 1.043 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.04125/0.7801, allocations: 31.21 MB / 0.9545 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005481/0.7856, allocations: 3.642 MB / 0.958 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00383/0.7895, allocations: 2.8 MB / 0.9608 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009713/0.7904, allocations: 0.828 MB / 0.9616 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.445e-05/0.7905, allocations: 68.67 kB / 0.9616 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=267): time 4.318e-06/0.7906, allocations: 4 kB / 0.9616 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=267): time 0.01079/0.8014, allocations: 5.759 MB / 0.9673 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.8014, allocations: 77.52 kB / 0.9673 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00919/0.8106, allocations: 5.235 MB / 0.9724 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003825/0.811, allocations: 73.7 kB / 0.9725 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.8132, allocations: 2.872 MB / 0.9753 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.8142, allocations: 0.9437 MB / 0.9762 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.8152, allocations: 0.7113 MB / 0.9769 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.8153, allocations: 305.1 kB / 0.9772 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002429/0.8177, allocations: 1.674 MB / 0.9789 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003182/0.8209, allocations: 2.936 MB / 0.9817 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00573/0.8267, allocations: 4.97 MB / 0.9866 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-05/0.8267, allocations: 12 kB / 0.9866 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008429/0.8352, allocations: 5.434 MB / 0.9919 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.8352, allocations: 30.59 kB / 0.9919 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-05/0.8353, allocations: 43.98 kB / 0.992 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009017/0.8362, allocations: 423.9 kB / 0.9924 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.8389, allocations: 0.8618 MB / 0.9932 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.8444, allocations: 5.688 MB / 0.9988 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/0.848, allocations: 0.5183 MB / 0.9993 GB, free: 272 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/0.8483, allocations: 184 kB / 0.9995 GB, free: 88 kB / 0.7481 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.003381/0.8517, allocations: 2.281 MB / 1.002 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/0.8531, allocations: 490.1 kB / 1.002 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006632/0.8597, allocations: 4.185 MB / 1.006 GB, free: 9.07 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.8598, allocations: 36.02 kB / 1.006 GB, free: 9.035 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.8598, allocations: 4 kB / 1.006 GB, free: 9.031 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004757/0.8645, allocations: 3.628 MB / 1.01 GB, free: 5.289 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.8814, allocations: 10.27 MB / 1.02 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8814, allocations: 4 kB / 1.02 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/0.8834, allocations: 0.4998 MB / 1.02 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/0.8841, allocations: 373.3 kB / 1.021 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.8843, allocations: 79.97 kB / 1.021 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/0.8894, allocations: 5.629 MB / 1.026 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.8894, allocations: 4 kB / 1.026 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008915/0.8983, allocations: 6.25 MB / 1.032 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/0.9009, allocations: 1.092 MB / 1.033 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001107/0.902, allocations: 60.2 kB / 1.033 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/0.9049, allocations: 187.5 kB / 1.034 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.9052, allocations: 177.6 kB / 1.034 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/0.9054, allocations: 127.9 kB / 1.034 GB, free: 11.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00545/0.9109, allocations: 3.835 MB / 1.038 GB, free: 8.078 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9109, allocations: 4 kB / 1.038 GB, free: 8.074 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005959/0.9169, allocations: 1.8 MB / 1.039 GB, free: 6.27 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.009188/0.9261, allocations: 7.181 MB / 1.046 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005841/0.9319, allocations: 4.282 MB / 1.051 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.932, allocations: 0 / 1.051 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.9345, allocations: 2.042 MB / 1.053 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01244/0.9469, allocations: 3.459 MB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3939/1.341, allocations: 46.92 MB / 1.102 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004449/1.345, allocations: 4.308 MB / 1.106 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.006618/1.352, allocations: 1.852 MB / 1.108 GB, free: 262.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003716/1.356, allocations: 2.447 MB / 1.11 GB, free: 260.8 MB / 0.8419 GB Notification: Performance of SimCode: time 1.002e-06/1.356, allocations: 0 / 1.11 GB, free: 260.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/1.551, allocations: 156.6 MB / 1.263 GB, free: 135.3 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.85, allocations: 12.41 kB / 1.263 GB, free: 135.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)