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.001023/0.001024, allocations: 108 kB / 15.61 MB, free: 152 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.0009772/0.0009773, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.225/1.225, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002126/0.002126, allocations: 282.8 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8823/0.8823, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 96.59 kB / 0.5953 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1373, allocations: 86.97 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04576/0.1831, allocations: 49.28 MB / 0.7284 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.2007, allocations: 13.81 MB / 0.7419 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.2027, allocations: 71.62 kB / 0.742 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.2047, allocations: 0.8071 MB / 0.7428 GB, free: 428 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005479/0.2102, allocations: 2.25 MB / 0.745 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.2131, allocations: 1.308 MB / 0.7462 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01738/0.2305, allocations: 19.6 MB / 0.7654 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2647/0.4952, allocations: 9.89 MB / 0.775 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.5055, allocations: 6.495 MB / 0.7814 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008587/0.5141, allocations: 5.752 MB / 0.787 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002499/0.5166, allocations: 0.8466 MB / 0.7878 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005624/0.5223, allocations: 1.594 MB / 0.7894 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002563/0.5248, allocations: 2.121 MB / 0.7914 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007397/0.5322, allocations: 4.291 MB / 0.7956 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01257/0.5448, allocations: 11.94 MB / 0.8073 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5449, allocations: 2.375 kB / 0.8073 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5449, allocations: 3.625 kB / 0.8073 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003138/0.5452, allocations: 0 / 0.8073 GB, free: 9.988 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.01752/0.5627, allocations: 7.738 MB / 0.8149 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5628, allocations: 10.97 kB / 0.8149 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/0.564, allocations: 0.7641 MB / 0.8156 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.5664, allocations: 0.7862 MB / 0.8164 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008674/0.5751, allocations: 6.051 MB / 0.8223 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.5753, allocations: 412.2 kB / 0.8227 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007179/0.576, allocations: 0.5497 MB / 0.8232 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01081/0.5868, allocations: 8.071 MB / 0.8311 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.866e-05/0.587, allocations: 17.19 kB / 0.8311 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/0.5875, allocations: 241.3 kB / 0.8313 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.5876, allocations: 167 kB / 0.8315 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009509/0.5971, allocations: 6.524 MB / 0.8379 GB, free: 14.77 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.0364/0.6336, allocations: 31.44 MB / 0.8686 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/0.6387, allocations: 3.646 MB / 0.8721 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003611/0.6423, allocations: 2.812 MB / 0.8749 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009127/0.6433, allocations: 0.8284 MB / 0.8757 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.113e-05/0.6434, allocations: 68.67 kB / 0.8758 GB, free: 13 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=267): time 4.849e-06/0.6434, allocations: 3.656 kB / 0.8758 GB, free: 13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=267): time 0.01047/0.6539, allocations: 5.763 MB / 0.8814 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.6539, allocations: 83.77 kB / 0.8815 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007835/0.6618, allocations: 5.235 MB / 0.8866 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006009/0.6624, allocations: 77.7 kB / 0.8867 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.6646, allocations: 2.863 MB / 0.8895 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.6659, allocations: 0.933 MB / 0.8904 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009997/0.6669, allocations: 0.7152 MB / 0.8911 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.667, allocations: 306.9 kB / 0.8914 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002477/0.6695, allocations: 1.674 MB / 0.893 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.6726, allocations: 2.935 MB / 0.8959 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006007/0.6787, allocations: 4.968 MB / 0.9007 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.181e-05/0.6787, allocations: 12 kB / 0.9007 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.009003/0.6877, allocations: 5.437 MB / 0.906 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.6878, allocations: 24 kB / 0.9061 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.272e-05/0.6878, allocations: 43.23 kB / 0.9061 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009475/0.6888, allocations: 431.5 kB / 0.9065 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.6917, allocations: 0.8564 MB / 0.9073 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/0.6974, allocations: 5.687 MB / 0.9129 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/0.7019, allocations: 0.523 MB / 0.9134 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/0.7023, allocations: 180 kB / 0.9136 GB, free: 5.211 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.004319/0.7067, allocations: 2.283 MB / 0.9158 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/0.7087, allocations: 490.1 kB / 0.9163 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007831/0.7165, allocations: 4.188 MB / 0.9204 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.7166, allocations: 28 kB / 0.9204 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.7166, allocations: 4 kB / 0.9204 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005361/0.722, allocations: 3.631 MB / 0.9239 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/0.7414, allocations: 10.3 MB / 0.934 GB, free: 152 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.7414, allocations: 12.03 kB / 0.934 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/0.7436, allocations: 0.502 MB / 0.9345 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/0.7444, allocations: 377.3 kB / 0.9349 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/0.7446, allocations: 75.95 kB / 0.9349 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005443/0.7501, allocations: 5.63 MB / 0.9404 GB, free: 9.348 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7501, allocations: 11.44 kB / 0.9404 GB, free: 9.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00986/0.76, allocations: 6.244 MB / 0.9465 GB, free: 2.938 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003155/0.7632, allocations: 1.096 MB / 0.9476 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/0.7648, allocations: 63.98 kB / 0.9477 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/0.7689, allocations: 169 kB / 0.9478 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/0.7692, allocations: 175.8 kB / 0.948 GB, free: 1.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004149/0.7697, allocations: 131.8 kB / 0.9481 GB, free: 1.301 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007514/0.7772, allocations: 3.843 MB / 0.9519 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7772, allocations: 0 / 0.9519 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006312/0.7835, allocations: 1.796 MB / 0.9536 GB, free: 11.67 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.01093/0.7945, allocations: 7.195 MB / 0.9607 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01441/0.8089, allocations: 8.071 MB / 0.9685 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.8089, allocations: 8 kB / 0.9685 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.8119, allocations: 2.043 MB / 0.9705 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01746/0.8294, allocations: 3.467 MB / 0.9739 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09007/0.9195, allocations: 57.86 MB / 1.03 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00658/0.9261, allocations: 4.309 MB / 1.035 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.007289/0.9334, allocations: 1.857 MB / 1.036 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005507/0.939, allocations: 2.44 MB / 1.039 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/0.939, allocations: 0 / 1.039 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/2.34, allocations: 158.2 MB / 1.193 GB, free: 216.9 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/14.92, allocations: 0 / 1.193 GB, free: 216.9 MB / 0.795 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)